homelab/bxl-shp/apps/docker-compose.wiki.yaml

26 lines
685 B
YAML
Raw Normal View History

2023-12-26 00:11:41 +01:00
services:
2023-12-26 11:55:13 +01:00
wikijs:
container_name: wikijs
image: ghcr.io/requarks/wiki:2
2023-12-26 00:11:41 +01:00
restart: unless-stopped
2023-12-26 11:55:13 +01:00
depends_on:
- postgres
environment:
- DB_TYPE=postgres
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=postgres
- DB_PASS=${POSTGRES_PASSWORD}
- DB_NAME=wikijs
2023-12-26 00:11:41 +01:00
labels:
- "traefik.enable=true"
2023-12-26 11:55:13 +01:00
- "traefik.http.routers.wikijs.rule=Host(`wiki.bhasher.com`)"
- "traefik.http.routers.wikijs.entrypoints=internalsecure"
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"
- "traefik.http.routers.wikijs.tls=true"
- "traefik.http.routers.wikijs.tls.certresolver=http"
2023-12-26 00:11:41 +01:00
networks:
2023-12-26 11:55:13 +01:00
- storage
2023-12-26 00:11:41 +01:00
- external