2023-11-16 20:09:14 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
wiki-webserver:
|
|
|
|
container_name: wiki-webserver
|
2024-01-26 17:01:23 +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:
|
|
|
|
traefik.http.routers.wiki.rule: Host(`wiki2.mgrote.net`)
|
|
|
|
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
|
|
|
|
# traefik.http.routers.wiki.middlewares: ldap_auth
|
|
|
|
#
|
|
|
|
# # ldapAuth Options
|
|
|
|
# traefik.http.middlewares.ldap_auth.plugin.ldapAuth.enabled: true
|
|
|
|
# traefik.http.middlewares.ldap_auth.plugin.ldapAuth.logLevel: DEBUG
|
|
|
|
# traefik.http.middlewares.ldap_auth.plugin.ldapAuth.url: ldap://lldap-app
|
|
|
|
# traefik.http.middlewares.ldap_auth.plugin.ldapAuth.port: 3890
|
|
|
|
# traefik.http.middlewares.ldap_auth.plugin.ldapAuth.baseDN: "ou=people,dc=grote,dc=lan"
|
|
|
|
# traefik.http.middlewares.ldap_auth.plugin.ldapAuth.attribute: uid
|
|
|
|
|
|
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
|
|
|
|
######## Networks ########
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|