Hello,
We introduce a new security system for the API in the RC3.
So you have two solution.
Solution 1:
api:
dashboard: true
insecure: true
Solution 2 (recommended):
api:
dashboard: true
# insecure: false
services:
traefik:
image: traefik:v2.0.0-rc3-alpine
networks:
- traefik-net
ports:
- "80:80"
- "1883:1883"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /mnt/docker-cluster/traefik/traefik.yml:/etc/traefik/traefik.yml
deploy:
placement:
constraints:
- node.role == manager
labels:
- traefik.enable=true
- traefik.docker.network=proxy_traefik-net
- traefik.http.routers.traefik.rule=Host(`traefik.indonesia`)
- traefik.http.routers.traefik.service=api@internal