version: '3.7' services: console: container_name: console image: magmise/console volumes: - /var/run/docker.sock:/var/run/docker.sock - ./users.json:/app/config/users.json restart: unless-stopped networks: - caddy labels: caddy: console caddy.reverse_proxy: "{{upstreams 8080}}" #caddy.tls: "admin@chch.tech" caddy.tls: "internal" caddy: image: lucaslorentz/caddy-docker-proxy:ci-alpine ports: - 80:80 - 443:443 labels: # Global options caddy.email: caddy@jimmy.nz volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - caddy restart: unless-stopped networks: - caddy networks: caddy: name: caddy