Update docker-compose.yml

add network definitions
This commit is contained in:
LRVT 2023-02-26 04:00:27 +01:00 committed by GitHub
parent dc6a803257
commit a5677ae313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ services:
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitea/data:/data
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.http.routers.gitea.rule=Host(`git.example.com`)
@ -21,3 +23,7 @@ services:
# - traefik.docker.network=proxy
# # Part for local lan services only
# - traefik.http.routers.gitea.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true