152 lines
3.6 KiB
YAML
Executable file
152 lines
3.6 KiB
YAML
Executable file
|
|
networks:
|
|
netgrimoire:
|
|
external: true
|
|
|
|
services:
|
|
wikijs-db:
|
|
image: postgres:16-alpine
|
|
command:
|
|
- postgres
|
|
- -c
|
|
- max_connections=50
|
|
- -c
|
|
- shared_buffers=128MB
|
|
- -c
|
|
- effective_cache_size=512MB
|
|
- -c
|
|
- work_mem=4MB
|
|
- -c
|
|
- maintenance_work_mem=64MB
|
|
- -c
|
|
- checkpoint_completion_target=0.9
|
|
- -c
|
|
- idle_in_transaction_session_timeout=60000
|
|
- -c
|
|
- statement_timeout=120000
|
|
networks:
|
|
- netgrimoire
|
|
environment:
|
|
TZ: America/Chicago
|
|
POSTGRES_DB: wiki
|
|
POSTGRES_USER: wikijs
|
|
POSTGRES_PASSWORD: F@lcon13
|
|
PUID: "1964"
|
|
PGID: "1964"
|
|
volumes:
|
|
|
|
- /data/nfs/znas/Docker/wikijs-db:/var/lib/postgresql/data
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
|
|
restart_policy:
|
|
condition: any
|
|
delay: 5s
|
|
max_attempts: 10
|
|
window: 60s
|
|
labels:
|
|
|
|
gremlin.version: "2026-04-1"
|
|
monitor.name: Wikijs-db
|
|
monitor.url: http://wikijs-db:8080
|
|
gremlin.caddy.skip: "true"
|
|
gremlin.authentik.skip: "true"
|
|
gremlin.homepage.skip: "true"
|
|
diun.enable: "true"
|
|
|
|
|
|
wikijs:
|
|
image: requarks/wiki:2
|
|
networks:
|
|
- netgrimoire
|
|
# Run as your default container identity
|
|
# user: "1964:1964"
|
|
environment:
|
|
TZ: America/Chicago
|
|
DB_TYPE: postgres
|
|
DB_HOST: wikijs-db
|
|
DB_PORT: "5432"
|
|
DB_USER: wikijs
|
|
DB_PASS: F@lcon13
|
|
DB_NAME: wiki
|
|
DB_POOL_MIN: 2
|
|
DB_POOL_MAX: 5
|
|
DB_POOL_ACQUIRETIMEOUTMILLIS: 60000
|
|
DB_POOL_CREATETIMEOUTMILLIS: 30000
|
|
DB_POOL_DESTROYTIMEOUTMILLIS: 5000
|
|
DB_POOL_IDLETIMEOUTMILLIS: 30000
|
|
PUID: "1964"
|
|
PGID: "1964"
|
|
volumes:
|
|
- /data/nfs/znas/Docker/wikijs/data:/wiki/data
|
|
- /data/nfs/znas/Docker/wikijs/repo:/wiki/repo
|
|
- /data/nfs/znas/Docker/wikijs/ssh:/wiki/ssh:ro
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
|
|
restart_policy:
|
|
condition: any
|
|
delay: 5s
|
|
max_attempts: 10
|
|
window: 60s
|
|
labels:
|
|
gremlin.port: 3000
|
|
homepage.group: "Documentation"
|
|
homepage.name: "Wiki"
|
|
homepage.icon: "wikijs.png"
|
|
homepage.href: "https://wiki.netgrimoire.com"
|
|
homepage.description: "Documentation Server"
|
|
monitor.name: Wikijs
|
|
monitor.url: http://wikijs:8080
|
|
diun.enable: "true"
|
|
|
|
# Caddy (adjust hostnames to your domain)
|
|
caddy: wiki.netgrimoire.com
|
|
caddy.reverse_proxy: "wikijs:3000"
|
|
caddy.import: "authentik"
|
|
|
|
# Kuma labels (your preferred pattern)
|
|
|
|
drawio:
|
|
image: jgraph/drawio:latest
|
|
networks:
|
|
- netgrimoire
|
|
# user: "1964:1964"
|
|
environment:
|
|
TZ: America/Chicago
|
|
PUID: "1964"
|
|
PGID: "1964"
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
|
|
restart_policy:
|
|
condition: any
|
|
delay: 5s
|
|
max_attempts: 10
|
|
window: 60s
|
|
labels:
|
|
gremlin.arm.allow: "true"
|
|
gremlin.port: 8080
|
|
homepage.group: "Documentation"
|
|
homepage.name: "Draw Net"
|
|
homepage.icon: "draw-io.png"
|
|
homepage.href: "https://draw.netgrimoire.com"
|
|
homepage.description: "Draw Server"
|
|
monitor.name: Drawio
|
|
monitor.url: http://drawio:8080
|
|
diun.enable: "true"
|
|
|
|
# Caddy (adjust hostnames to your domain)
|
|
caddy: draw.netgrimoire.com
|
|
caddy.reverse_proxy: drawio:8080
|
|
|
|
# Kuma labels
|