docker/apaches/maintenance/docker-compose.yml
thopic f5e26ca53f
[PHP] Bump to 7.4.26
CERTFR-2021-AVI-890
2021-11-19 23:12:17 +01:00

32 lines
1.0 KiB
YAML

version: "3.8"
services:
web:
build: ..
image: my_apache:7.4.26
container_name: maintenance
networks:
- proxy
expose:
- "80"
restart: unless-stopped
volumes:
- /usr/lib/locale/:/usr/lib/locale/
- /etc/localtime:/etc/localtime:ro
- ${DATA_PATH}/public-html:/var/www/html/
labels:
- "traefik.enable=true"
- "traefik.http.routers.maintenance-http.rule=HostRegexp(`{catchall:.*}`)"
- "traefik.http.routers.maintenance-http.entrypoints=web"
- "traefik.http.routers.maintenance-http.priority=1"
- "traefik.http.routers.maintenance-https.rule=HostRegexp(`{catchall:.*}`)"
- "traefik.http.routers.maintenance-https.entrypoints=websecure"
- "traefik.http.routers.maintenance-https.priority=1"
- "traefik.http.routers.maintenance-https.tls=true"
- "co.elastic.logs/module=apache"
- "co.elastic.logs/fileset=access"
networks:
proxy:
external: true