mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
50
__swarm/bookstack/bookstack-swarm.yml
Normal file
50
__swarm/bookstack/bookstack-swarm.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
env_file:
|
||||
- stack.env
|
||||
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/bookstack:latest
|
||||
ports:
|
||||
- 6875:80
|
||||
volumes:
|
||||
- /share/docker_data/bookstack/bookstack_app_data:/config
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
homepage.container: bookstack-app-1
|
||||
homepage.description: Books
|
||||
homepage.group: Utilities
|
||||
homepage.href: https://bookstack.sectorq.eu
|
||||
homepage.icon: bookstack.png
|
||||
homepage.name: Bookstack
|
||||
homepage.server: my-docker-swarm
|
||||
homepage.weight: 1
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
db:
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
PGID: 0
|
||||
PUID: 0
|
||||
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/mariadb
|
||||
volumes:
|
||||
- /share/docker_data/bookstack/bookstack_db_data:/config
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
Reference in New Issue
Block a user