All containers that are exposed via proxy are now on their own correct networks and depend on traefik

This commit is contained in:
2022-10-31 21:39:29 +00:00
parent b9b9380606
commit cfe86a01a2
7 changed files with 105 additions and 48 deletions

View File

@ -6,6 +6,16 @@ services:
gitea:
image: gitea/gitea:latest
container_name: gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- development
ports:
- "222:22"
depends_on:
- traefik
environment:
- APP_NAME="gitea"
- USER_UID=1000
@ -19,10 +29,8 @@ services:
- SSH_PORT=222
- SSH_LISTEN_PORT=22
- DB_TYPE=sqlite3
ports:
- "222:22"
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
restart: unless-stopped
networks:
development:
external: true