Update docker-compose.yml

remove traefik labels and add network definitions
This commit is contained in:
LRVT authored and GitHub committed 2023-02-26 03:46:10 +01:00
1 parent eee536fd98
commit 8d534bc0cf
1 file changed
+13 -7
+13 -7
View File
@@ -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