Compare commits

..

No commits in common. "1a442dae8949f3698776f460760a59e6ad1cd98a" and "8c0f7e8fb771cc5e6e377221caba613f48307573" have entirely different histories.

View File

@ -2,11 +2,11 @@ version: '1'
networks: networks:
default: default:
name: "${PROJECT_NAME}_gitea_db_net"
external: false
traefik:
name: "${TRAEFIK_NETWORK}" name: "${TRAEFIK_NETWORK}"
external: true external: true
db:
name: "${PROJECT_NAME}_gitea_db_net"
external: false
services: services:
gitea: gitea:
@ -23,7 +23,7 @@ services:
- "GITEA__database__PASSWD=${MYSQL_PASSWORD}" - "GITEA__database__PASSWD=${MYSQL_PASSWORD}"
restart: "unless-stopped" restart: "unless-stopped"
networks: networks:
- "traefik" - "db"
volumes: volumes:
- "${PROJECT_DATA}/${PROJECT_NAME}-gitea/git:/data" - "${PROJECT_DATA}/${PROJECT_NAME}-gitea/git:/data"
- "/etc/timezone:/etc/timezone:ro" - "/etc/timezone:/etc/timezone:ro"
@ -45,6 +45,8 @@ services:
container_name: "${PROJECT_NAME}_gitea_db" container_name: "${PROJECT_NAME}_gitea_db"
restart: "unless-stopped" restart: "unless-stopped"
env_file: ".env" env_file: ".env"
networks:
- "db"
volumes: volumes:
- "${PROJECT_DATA}/${PROJECT_NAME}-gitea/db:/var/lib/mysql" - "${PROJECT_DATA}/${PROJECT_NAME}-gitea/db:/var/lib/mysql"
labels: labels: