This commit is contained in:
2025-11-30 16:56:13 +01:00
parent 527c18c89f
commit 0e0383bf49
5 changed files with 58 additions and 51 deletions

View File

@@ -1,20 +1,23 @@
version: '3.9'
volumes:
bookstack_db_data:
driver: local
bookstack_app_data:
driver: local
services:
app:
env_file:
- stack.env
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/bookstack:latest
ports:
- 6875:80
- target: 80
published: 6875
protocol: tcp
mode: ingress
volumes:
- /share/docker_data/bookstack/bookstack_app_data:/config
- bookstack_app_data:/config
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
labels:
com.centurylinklabs.watchtower.enable: true
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: bookstack-app-1
homepage.description: Books
homepage.group: Utilities
@@ -22,9 +25,10 @@ services:
homepage.icon: bookstack.png
homepage.name: Bookstack
homepage.server: my-docker-swarm
homepage.weight: 1
wud.watch: true
wud.watch.digest: true
homepage.weight: '1'
wud.watch: 'true'
wud.watch.digest: 'true'
replicas: 1
placement:
constraints:
- node.role == manager
@@ -36,15 +40,13 @@ services:
PUID: 0
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/mariadb
volumes:
- /share/docker_data/bookstack/bookstack_db_data:/config
- bookstack_db_data:/config
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
labels:
wud.watch: true
wud.watch.digest: true
wud.watch: 'true'
wud.watch.digest: 'true'
replicas: 1
placement:
constraints:
- node.role == manager
version: '2'