renamed data folder, moved DB from named to bind volume
This commit is contained in:
parent
ebe0f41dcf
commit
ff9bb06bfd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
/.env
|
||||
/gitea_data
|
||||
/data
|
||||
|
@ -33,7 +33,7 @@ services:
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./gitea_data:/data
|
||||
- ./data/gitea:/data
|
||||
- ${GIT_HOMEDIR}/.ssh:/data/git/.ssh
|
||||
ports:
|
||||
- ${SSH_PORT}:22
|
||||
@ -49,12 +49,9 @@ services:
|
||||
- internal
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
|
||||
networks:
|
||||
internal:
|
||||
traefik-proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
database:
|
||||
|
Loading…
Reference in New Issue
Block a user