26 lines
734 B
YAML
26 lines
734 B
YAML
services:
|
|
workcalendar:
|
|
hostname: workcalendar
|
|
restart: always
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: production
|
|
environment:
|
|
- APP_ENV=prod
|
|
- APP_DEBUG=0
|
|
networks:
|
|
- proxy
|
|
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.workcalendar.rule=Host(`ftk.strolap.com`)"
|
|
- "traefik.http.routers.workcalendar.entrypoints=websecure"
|
|
- "traefik.http.routers.workcalendar.tls=true"
|
|
- "traefik.http.routers.workcalendar.tls.certresolver=strolap"
|
|
- "traefik.http.routers.workcalendar.tls.options=noClientAuth@file"
|
|
- "traefik.http.services.workcalendar.loadbalancer.server.port=80"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true |