-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.prod.yml
40 lines (36 loc) · 1.23 KB
/
docker-compose.override.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
php:
depends_on: !reset []
build:
context: ./
target: frankenphp_prod
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.kyoas.rule=Host(`${SERVER_NAME:?error}`)"
- "traefik.http.routers.kyoas.tls=true"
#- "traefik.http.routers.kyoas.tls.certresolver=myresolver"
- "traefik.http.middlewares.kyoas.headers.customrequestheaders.X-Forwarded-Proto=https"
- "traefik.http.middlewares.kyoas.headers.sslredirect=true"
- "traefik.http.services.kyoas.loadbalancer.server.port=80"
#- "traefik.http.services.kyoas.loadbalancer.server.scheme=http"
- "traefik.http.services.kyoas.loadbalancer.passhostheader=true"
# - "traefik.http.services.kyoas.loadbalancer.healthcheck.path=/revision.txt"
# - "traefik.http.services.kyoas.loadbalancer.healthcheck.interval=30s"
# - "traefik.http.services.kyoas.loadbalancer.healthcheck.timeout=25s"
networks:
default:
proxy:
aliases:
- "qa-oas"
consumer:
depends_on: !reset []
###> doctrine/doctrine-bundle ###
database:
deploy:
replicas: 0
###< doctrine/doctrine-bundle ###
networks:
proxy:
name: traefik
external: true