Merge pull request 'changed default network' (#1) from testing into main
Reviewed-on: #1
This commit is contained in:
commit
1a442dae89
@ -2,11 +2,11 @@ version: '1'
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
name: "${TRAEFIK_NETWORK}"
|
|
||||||
external: true
|
|
||||||
db:
|
|
||||||
name: "${PROJECT_NAME}_gitea_db_net"
|
name: "${PROJECT_NAME}_gitea_db_net"
|
||||||
external: false
|
external: false
|
||||||
|
traefik:
|
||||||
|
name: "${TRAEFIK_NETWORK}"
|
||||||
|
external: true
|
||||||
|
|
||||||
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:
|
||||||
- "db"
|
- "traefik"
|
||||||
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,8 +45,6 @@ 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user