37 lines
976 B
YAML
37 lines
976 B
YAML
|
---
|
||
|
version: '3.8'
|
||
|
services:
|
||
|
app:
|
||
|
image: lscr.io/linuxserver/dokuwiki:version-2022-07-31a
|
||
|
environment:
|
||
|
- PUID=1000
|
||
|
- PGID=1000
|
||
|
- TZ=Europe/Amsterdam
|
||
|
volumes:
|
||
|
- dokuwiki_data:/config
|
||
|
networks:
|
||
|
- internal
|
||
|
- proxy
|
||
|
deploy:
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.docker.network=proxy"
|
||
|
- "traefik.http.services.${STACK_NAME}_web.loadbalancer.server.port=80"
|
||
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||
|
- "coop-cloud.${STACK_NAME}.web.version=0.0.1+2022-07-31a"
|
||
|
healthcheck:
|
||
|
test: ["CMD", "curl", "http://localhost:80"]
|
||
|
interval: 30s
|
||
|
timeout: 10s
|
||
|
retries: 10
|
||
|
start_period: 2m
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|
||
|
internal:
|
||
|
volumes:
|
||
|
dokuwiki_data:
|