version: "3" services: traefik: image: traefik:1.6 command: --configFile=/traefik.toml volumes: - ./config.toml:/traefik.toml # - ./acme.json:/acme.json - /var/run/docker.sock:/var/run/docker.sock ports: - 80:80 networks: - net labels: - "traefik.enable=true" - "traefik.port=8080" - "traefik.frontend.rule=Host:traefik.localhost,traefik.potato.kinf.wiai.uni-bamberg.de" restart: on-failure:5 networks: net: driver: bridge