2023-11-16 20:09:14 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
wiki-webserver:
|
|
|
|
container_name: wiki-webserver
|
2024-01-26 16:38:39 +01:00
|
|
|
image: httpd:2.4@sha256:ba846154ade27292d216cce2d21f1c7e589f3b66a4a643bff0cdd348efd17aa3
|
2023-11-16 20:09:14 +01:00
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
ports:
|
|
|
|
- 8087:80
|
|
|
|
volumes:
|
|
|
|
- /docker/wiki/site:/usr/local/apache2/htdocs/
|
|
|
|
# /docker/wiki/site ist ein lokales Verzeichnis auf docker10
|
|
|
|
# dieser Verzeichnis wird direkt in der wiki ci gemountet
|
|
|
|
# und die daten werden dort reingeschrieben
|
|
|
|
labels:
|
2023-11-21 12:03:05 +01:00
|
|
|
traefik.http.routers.wiki.rule: Host(`wiki.mgrote.net`)
|
2023-11-16 20:09:14 +01:00
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.routers.wiki.tls: true
|
|
|
|
traefik.http.routers.wiki.tls.certresolver: resolver_letsencrypt
|
|
|
|
traefik.http.routers.wiki.entrypoints: entry_https
|
|
|
|
traefik.http.services.wiki.loadbalancer.server.port: 80
|
|
|
|
|
|
|
|
traefik.http.routers.wiki.middlewares: nforwardauth
|
|
|
|
|
|
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
|
|
|
|
######## Networks ########
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|