docker/apaches/maintenance/docker-compose.yml

28 lines
751 B
YAML

version: "3.8"
services:
web:
build: ..
image: my_apache:7.4.32
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.entrypoints=websecure"
- "traefik.http.routers.maintenance.rule=HostRegexp(`{catchall:.*}`)"
- "traefik.http.routers.maintenance.priority=1"
- "co.elastic.logs/module=apache"
- "co.elastic.logs/fileset=access"
networks:
proxy:
external: true