dds
This commit is contained in:
parent
23aaf8fd7c
commit
7acd015cb1
1 changed files with 8 additions and 12 deletions
|
|
@ -35,21 +35,20 @@ services:
|
||||||
PGID: "1964"
|
PGID: "1964"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
||||||
- /DockerVol/wikijs-db:/var/lib/postgresql/data
|
- /data/nfs/znas/Docker/wikijs-db:/var/lib/postgresql/data
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == dockerpi1
|
|
||||||
- node.labels.cpu == arm
|
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 10
|
max_attempts: 10
|
||||||
window: 60s
|
window: 60s
|
||||||
labels:
|
labels:
|
||||||
gremlin.arm.allow: "true"
|
|
||||||
gremlin.version: "2026-04-1"
|
gremlin.version: "2026-04-1"
|
||||||
monitor.name: Wikijs-db
|
monitor.name: Wikijs-db
|
||||||
monitor.url: http://wikijs-db:8080
|
monitor.url: http://wikijs-db:8080
|
||||||
|
|
@ -82,23 +81,21 @@ services:
|
||||||
PUID: "1964"
|
PUID: "1964"
|
||||||
PGID: "1964"
|
PGID: "1964"
|
||||||
volumes:
|
volumes:
|
||||||
- /DockerVol/wikijs/data:/wiki/data
|
- /data/nfs/znas/Docker/wikijs/data:/wiki/data
|
||||||
- /DockerVol/wikijs/repo:/wiki/repo
|
- /data/nfs/znas/Docker/wikijs/repo:/wiki/repo
|
||||||
- /DockerVol/wikijs/ssh:/wiki/ssh:ro
|
- /data/nfs/znas/Docker/wikijs/ssh:/wiki/ssh:ro
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == dockerpi1
|
|
||||||
- node.labels.cpu == arm
|
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 10
|
max_attempts: 10
|
||||||
window: 60s
|
window: 60s
|
||||||
labels:
|
labels:
|
||||||
gremlin.arm.allow: "true"
|
|
||||||
gremlin.port: 3000
|
gremlin.port: 3000
|
||||||
homepage.group: "Documentation"
|
homepage.group: "Documentation"
|
||||||
homepage.name: "Wiki"
|
homepage.name: "Wiki"
|
||||||
|
|
@ -130,8 +127,7 @@ services:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == dockerpi1
|
|
||||||
- node.labels.cpu == arm
|
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
delay: 5s
|
delay: 5s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue