更新Docker配置,使用Docker卷代替绑定挂载
This commit is contained in:
parent
88f08dcc4d
commit
869f175043
@ -16,8 +16,7 @@ services:
|
||||
- GITEA__server__ROOT_URL=https://gitea.mzh.one/
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data/gitea:/data
|
||||
- ./conf/gitea/app.ini:/data/gitea/conf/app.ini:ro
|
||||
- gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
@ -32,3 +31,6 @@ networks:
|
||||
driver: bridge
|
||||
dnmp_default:
|
||||
external: true # 使用已有的DNMP网络
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
||||
Loading…
x
Reference in New Issue
Block a user