renamed data folder, moved DB from named to bind volume

This commit is contained in:
bryanpedini committed 2022-02-06 15:11:02 +01:00
1 parent ebe0f41dcf
commit ff9bb06bfd
2 files changed
+3 -6

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
/.env
/gitea_data
/data
+2 -5
View File
@@ -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: