-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
34 lines (32 loc) · 1.02 KB
/
docker-compose.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
services:
web:
image: ${WEB_IMAGE}
networks:
frontend:
web-typo3:
aliases:
- ${VHOST}
depends_on:
- typo3
labels:
- "traefik.enable=true"
- "traefik.docker.network=${FRONTEND_NETWORK:-frontend}"
- "traefik.http.routers.web-http-${COMPOSE_PROJECT_NAME}.rule=Host(`${VHOST}`)"
- "traefik.http.routers.web-http-${COMPOSE_PROJECT_NAME}.entrypoints=${TRAEFIK_ENTRYPOINT_HTTP}"
- "traefik.http.routers.web-https-${COMPOSE_PROJECT_NAME}.rule=Host(`${VHOST}`)"
- "traefik.http.routers.web-https-${COMPOSE_PROJECT_NAME}.entrypoints=${TRAEFIK_ENTRYPOINT_HTTPS}"
- "traefik.http.routers.web-https-${COMPOSE_PROJECT_NAME}.tls=true"
- "traefik.http.services.web-${COMPOSE_PROJECT_NAME}.loadbalancer.server.port=80"
restart: "${RESTART}"
typo3:
image: ${TYPO3_IMAGE}
networks:
web-typo3:
environment:
TRUSTED_HOSTS_PATTERN:
restart: "${RESTART}"
networks:
web-typo3:
frontend:
external: true
name: ${FRONTEND_NETWORK:-frontend}