changed volumes to static on /gitea/

This commit is contained in:
acidburnmonkey
2025-08-13 06:08:22 +00:00
parent 69931dc19d
commit 96a8bce8ee
+2 -8
View File
@@ -14,7 +14,7 @@ services:
- GITEA__server__SSH_PORT=2221 - GITEA__server__SSH_PORT=2221
- GITEA__server__ROOT_URL=https://gitshop.cc - GITEA__server__ROOT_URL=https://gitshop.cc
volumes: volumes:
- gitea-data:/data - /gitea/data:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
@@ -45,7 +45,7 @@ services:
networks: networks:
- backend - backend
volumes: volumes:
- gitea-db:/var/lib/postgresql/data - /gitea/db/:/var/lib/postgresql/data
restart: unless-stopped restart: unless-stopped
@@ -67,12 +67,6 @@ services:
- backend - backend
volumes:
gitea-data:
driver: local
gitea-db:
driver: local
networks: networks:
frontend: frontend:
name: frontend name: frontend