mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-04-26 06:33:36 +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
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitea/data:/data
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gitea/data:/data
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
#labels:
|
#labels:
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
# - traefik.http.routers.gitea.rule=Host(`git.example.com`)
|
# - traefik.http.routers.gitea.rule=Host(`git.example.com`)
|
||||||
@ -21,3 +23,7 @@ services:
|
|||||||
# - traefik.docker.network=proxy
|
# - traefik.docker.network=proxy
|
||||||
# # Part for local lan services only
|
# # Part for local lan services only
|
||||||
# - traefik.http.routers.gitea.middlewares=local-ipwhitelist@file
|
# - traefik.http.routers.gitea.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user