2021-05-10 15:57:31 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
build: ..
|
2022-10-23 19:02:54 +02:00
|
|
|
image: my_apache:7.4.32
|
2021-05-10 15:57:31 +02:00
|
|
|
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"
|
2023-02-06 12:32:05 +01:00
|
|
|
- "traefik.http.routers.maintenance.entrypoints=websecure"
|
2023-02-01 18:43:13 +01:00
|
|
|
- "traefik.http.routers.maintenance.rule=HostRegexp(`{catchall:.*}`)"
|
|
|
|
- "traefik.http.routers.maintenance.priority=1"
|
2021-05-10 15:57:31 +02:00
|
|
|
- "co.elastic.logs/module=apache"
|
|
|
|
- "co.elastic.logs/fileset=access"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|