NoteCat/docker/docker-compose.testing.yml
binaryDiv 9095a604a2
All checks were successful
continuous-integration/drone/push Build is passing
add development and production targets; run phpunit in container
2020-06-28 18:07:30 +02:00

19 lines
403 B
YAML

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