mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 07:17:05 +00:00
Update docker-compose.yml
add network definitions
This commit is contained in:
parent
dc6a803257
commit
a5677ae313
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user