修改时区等

This commit is contained in:
chinky 2018-07-08 23:01:39 +08:00
parent 5d37dcbd1b
commit e2689f149a
2 changed files with 13 additions and 5 deletions

0
.gitignore vendored Executable file → Normal file
View File

18
docker-compose.yml Executable file → Normal file
View File

@ -8,13 +8,20 @@ services:
server:
image: gitea/gitea:latest
environment:
- USER_UID=1002
- APP_NAME='通技的 gitea 服务器'
- RUN_MODE='prod'
# - SSH_DOMAIN='dgtongji.f3322.net'
# - SSH_PORT=22
# - HTTP_PORT=3000
# - ROOT_URL=dgtongji.f3322.net
- USER_UID=2001
- USER_GID=100
- DB_TYPE=mysql
- DB_HOST='db:3306'
- DB_NAME='giteat'
- DB_NAME='gitea'
- DB_USER='root'
- DB_PASSWD=''gitea894231''
- DB_PASSWD=gitea894231
- TZ=Asia/Shanghai
restart: always
networks:
- gitea
@ -30,10 +37,11 @@ services:
image: mariadb:10
restart: always
environment:
- MYSQL_ROOT_PASSWORD='gitea894231'
- MYSQL_ROOT_PASSWORD=gitea894231
- MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea
- MYSQL_PASSWORD=gitea894231
- MYSQL_DATABASE=gitea
- TZ=Asia/Shanghai
networks:
- gitea
volumes: