NoteCat/docker/docker-compose.testing.yml
binaryDiv 125c6316bb
All checks were successful
continuous-integration/drone/push Build is passing
set traefik entrypoints to https only; use dict for docker labels
2020-08-28 00:23:10 +02:00

22 lines
488 B
YAML

version: '3.4'
services:
web:
build:
context: ..
target: production
restart: always
env_file:
- .env.testing
networks:
- traefik
labels:
traefik.enable: true
traefik.http.routers.notecat.rule: Host(`notecat.dev.0xbd.space`)
traefik.http.routers.notecat.entrypoints: https
traefik.http.routers.notecat.tls: true
traefik.http.routers.notecat.tls.certresolver: letsencrypt
networks:
traefik:
external: true