All containers that are exposed via proxy are now on their own correct networks and depend on traefik
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user