mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 05:33:46 +00:00
Update docker-compose.yml
remove traefik labels and add network definitions
This commit is contained in:
parent
eee536fd98
commit
8d534bc0cf
|
@ -13,10 +13,16 @@ services:
|
|||
- 8.8.8.8
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/uptimekuma:/app/data
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.uptimekuma.rule=Host(`uptimekuma.example.com`)
|
||||
- traefik.http.services.uptimekuma.loadbalancer.server.port=3001
|
||||
- traefik.docker.network=proxy
|
||||
# Part for local lan services only
|
||||
#- traefik.http.routers.uptimekuma.middlewares=local-ipwhitelist@file
|
||||
#networks:
|
||||
# - proxy
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.uptimekuma.rule=Host(`uptimekuma.example.com`)
|
||||
# - traefik.http.services.uptimekuma.loadbalancer.server.port=3001
|
||||
# - traefik.docker.network=proxy
|
||||
# # Part for local lan services only
|
||||
# #- traefik.http.routers.uptimekuma.middlewares=local-ipwhitelist@file
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user