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
|
/.env
|
||||||
/gitea_data
|
/data
|
||||||
|
@ -33,7 +33,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- ./gitea_data:/data
|
- ./data/gitea:/data
|
||||||
- ${GIT_HOMEDIR}/.ssh:/data/git/.ssh
|
- ${GIT_HOMEDIR}/.ssh:/data/git/.ssh
|
||||||
ports:
|
ports:
|
||||||
- ${SSH_PORT}:22
|
- ${SSH_PORT}:22
|
||||||
@ -49,12 +49,9 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/mysql
|
- ./data/mysql:/var/lib/mysql
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
traefik-proxy:
|
traefik-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
database:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user