version: '3' services: traefik: image: traefik container_name: traefik restart: always ports: - "80:80" - "443:443" - "8080:8080" volumes: - traefik_data:/etc/traefik - /var/run/docker.sock:/var/run/docker.sock:ro networks: traefik_net: labels: - traefik.enable=true - traefik.http.routers.dashboard.rule=Host(`traefik.franz.local`) - traefik.http.routers.dashboard.entrypoints=web - traefik.http.services.dashboard.loadbalancer.server.port=8080 kuma: container_name: kuma image: "louislam/uptime-kuma" volumes: - kuma_data:/app/data restart: always networks: traefik_net: dns: - 1.1.1.1 labels: - traefik.enable=true - traefik.http.routers.kuma.entrypoints=web - traefik.http.routers.kuma.rule=Host(`kuma.franz.local`) flame: image: pawelmalak/flame container_name: flame volumes: - flame_data:/app/data - /var/run/docker.sock:/var/run/docker.sock env_file: - password.env restart: always networks: traefik_net: ipv4_address: 172.26.0.2 labels: - traefik.enable=true - traefik.http.routers.flame.entrypoints=web - traefik.http.routers.flame.rule=Host(`franz.local`) dns: - 1.1.1.1 networks: traefik_net: name: traefik-net driver: bridge volumes: traefik_data: name: traefik_data kuma_data: name: kuma_data flame_data: name: flame_data