mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-12-18 16:20:19 +00:00
8d534bc0cf
remove traefik labels and add network definitions
29 lines
721 B
YAML
29 lines
721 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
container_name: uptime-kuma
|
|
hostname: uptime-kuma
|
|
image: louislam/uptime-kuma
|
|
restart: always
|
|
ports:
|
|
- 3001:3001
|
|
dns:
|
|
- 1.1.1.1
|
|
- 8.8.8.8
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/uptimekuma:/app/data
|
|
#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
|