Update docker-compose.yml

remove traefik labels and add network definitions
pull/6/head
LRVT 2023-02-26 03:46:10 +01:00 zatwierdzone przez GitHub
rodzic eee536fd98
commit 8d534bc0cf
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 13 dodań i 7 usunięć

Wyświetl plik

@ -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