version: '3' networks: web: external: true services: frontend: image: docker.cybre.town/adb/webprog-homework labels: - "traefik.enable=true" - "traefik.http.routers.webprog-homework.rule=Host(`webprog-homework.deploy.cat`)" - "traefik.http.routers.webprog-homework.entrypoints=https" - "traefik.http.services.webprog-homework.loadbalancer.server.port=8000" - "traefik.http.routers.webprog-homework.tls.certresolver=mytlschallenge" - "traefik.docker.network=web" volumes: - ./db.sqlite:/usr/src/app/db.sqlite networks: - web