增加备份目录
This commit is contained in:
parent
1cd7ad4c2b
commit
9cf671eac7
|
@ -9,7 +9,7 @@ services:
|
|||
image: gitea/gitea:latest
|
||||
environment:
|
||||
- APP_NAME='通技的 gitea 服务器'
|
||||
- RUN_MODE='prod'
|
||||
# - RUN_MODE='prod'
|
||||
# - SSH_DOMAIN='dgtongji.f3322.net'
|
||||
# - SSH_PORT=22
|
||||
# - HTTP_PORT=3000
|
||||
|
@ -17,9 +17,9 @@ services:
|
|||
- USER_UID=2001
|
||||
- USER_GID=100
|
||||
- DB_TYPE=mysql
|
||||
- DB_HOST='db:3306'
|
||||
- DB_NAME='gitea'
|
||||
- DB_USER='root'
|
||||
- DB_HOST=db:3306
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=root
|
||||
- DB_PASSWD=gitea894231
|
||||
- TZ=Asia/Shanghai
|
||||
restart: always
|
||||
|
@ -27,9 +27,10 @@ services:
|
|||
- gitea
|
||||
volumes:
|
||||
- ./data/gitea:/data
|
||||
- ./data/backup:/backup
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "1022:22"
|
||||
- "22:22"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
|
|
Loading…
Reference in New Issue