2021-05-10 15:57:31 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
build: ..
|
2022-04-19 17:38:55 +02:00
|
|
|
image: my_apache:7.4.29
|
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"
|
2021-07-20 16:55:56 +02:00
|
|
|
- "traefik.http.routers.maintenance-http.rule=HostRegexp(`{catchall:.*}`)"
|
2021-05-10 15:57:31 +02:00
|
|
|
- "traefik.http.routers.maintenance-http.entrypoints=web"
|
|
|
|
- "traefik.http.routers.maintenance-http.priority=1"
|
2021-07-20 16:55:56 +02:00
|
|
|
- "traefik.http.routers.maintenance-https.rule=HostRegexp(`{catchall:.*}`)"
|
2021-05-10 15:57:31 +02:00
|
|
|
- "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
|