Michael Grote
7c0c860600
Reviewed-on: #601 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
40 lines
1.4 KiB
Django/Jinja
40 lines
1.4 KiB
Django/Jinja
version: '3'
|
|
services:
|
|
wiki-webserver:
|
|
container_name: wiki-webserver
|
|
image: httpd:2.4
|
|
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
|