You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
598 B
YAML
21 lines
598 B
YAML
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
|