mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
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:
|
|
- target: 80
|
|
published: 6875
|
|
protocol: tcp
|
|
mode: ingress
|
|
volumes:
|
|
- bookstack_app_data:/config
|
|
deploy:
|
|
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'
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.role == manager
|
|
db:
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
PGID: 0
|
|
PUID: 0
|
|
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/mariadb
|
|
volumes:
|
|
- bookstack_db_data:/config
|
|
deploy:
|
|
labels:
|
|
wud.watch: 'true'
|
|
wud.watch.digest: 'true'
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.role == manager
|