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`)"
|
2024-01-03 04:52:09 +01:00
|
|
|
- "traefik.http.routers.wikijs.entrypoints=internalsecure,externalsecure"
|
2023-12-26 11:55:13 +01:00
|
|
|
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"
|
|
|
|
- "traefik.http.routers.wikijs.tls=true"
|
|
|
|
- "traefik.http.routers.wikijs.tls.certresolver=http"
|
2023-12-26 22:59:06 +01:00
|
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
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
|
|
|
|
|