bookstack
micro 1 year ago
parent 3e025ecea6
commit 231deb5fca

@ -25,6 +25,8 @@ services:
restart: unless-stopped
depends_on:
- bookstack_db
labels:
- "diun.enable=true"
bookstack_db:
image: lscr.io/linuxserver/mariadb

@ -0,0 +1,18 @@
secrets:
DIUN_NOTIF_MATRIX_PASSWORD:
file: ../secrets/diun/DIUN_NOTIF_MATRIX_PASSWORD
services:
diun:
image: crazymax/diun:latest
restart: always
command: serve
secrets: [ DIUN_NOTIF_MATRIX_PASSWORD ]
env_file:
- ../env.production
- ./env.production
volumes:
- ../data/diun/data:/data
- /var/run/docker.sock:/var/run/docker.sock
labels:
- "diun.enable=true"

@ -0,0 +1,13 @@
TZ=America/New_York
DIUN_WATCH_WORKERS=20
DIUN_WATCH_SCHEDULE="0 */6 * * *"
DIUN_WATCH_JITTER=30s
DIUN_PROVIDERS_DOCKER=true
DIUN_WATCH_FIRSTCHECKNOTIF=true
DIUN_NOTIF_MATRIX_USER="@diun:woodbine.nyc"
DIUN_NOTIF_MATRIX_PASSWORDFILE=/run/secrets/DIUN_NOTIF_MATRIX_PASSWORD
DIUN_NOTIF_MATRIX_HOMESERVERURL=https://chat.woodbine.nyc
DIUN_NOTIF_MATRIX_ROOMID="!BDdgmKzNkJfHGohOIN:woodbine.nyc"
DIUN_NOTIF_DISCORD_WEBHOOKURL="https://discord.com/api/webhooks/1223645760005079203/JdqDR5IwaOe08Cdfp2gO97XNSfgdovQYNTFIZlstSCdmgyaisGYKjHKaUceD6oR2QoKO"

@ -0,0 +1,10 @@
#!/bin/bash
die() { echo >&2 "$@" ; exit 1 ; }
DIRNAME="$(dirname $0)"
cd "$DIRNAME"
source ../env.production || die "no top level env?"
source env.production || die "no local env?"
docker-compose down 2>/dev/null
docker-compose up -d || die "diun: unable to bring up container"

@ -32,6 +32,8 @@ services:
restart: always
depends_on:
- db
labels:
- "diun.enable=true"
db:
image: postgres:13.4-alpine

@ -33,3 +33,5 @@ services:
restart: always
depends_on:
- database
labels:
- "diun.enable=true"

@ -41,3 +41,5 @@ services:
- 8080:8080
depends_on:
- mysql
labels:
- "diun.enable=true"

@ -68,6 +68,8 @@ services:
- es
volumes:
- ../data/mastodon/system:/mastodon/public/system
labels:
- "diun.enable=true"
streaming:
image: tootsuite/mastodon

@ -18,6 +18,8 @@ services:
- ../data/matrix/element-config.json:/app/config.json
ports:
- "5000:80"
labels:
- "diun.enable=true"
synapse:
image: matrixdotorg/synapse:latest
@ -26,3 +28,5 @@ services:
- ../data/matrix/synapse:/data
ports:
- "5008:8008"
labels:
- "diun.enable=true"

@ -14,6 +14,8 @@ services:
# - ${PWD}/GeoLite2-City.mmdb:/var/lib/mobilizon/geo_db/GeoLite2-City.mmdb
ports:
- "7000:7000"
labels:
- "diun.enable=true"
db:
image: postgis/postgis:13-3.1

@ -33,4 +33,6 @@ services:
- ../data/nextcloud/nextcloud:/var/www/html
depends_on:
- database
labels:
- "diun.enable=true"

@ -23,6 +23,8 @@ services:
- env.production
extra_hosts:
- "host.docker.internal:host-gateway"
labels:
- "diun.enable=true"
certbot:
image: certbot/certbot

@ -22,6 +22,8 @@ services:
depends_on:
- db
- redis
labels:
- "diun.enable=true"
worker:
image: osresearch/pixelfed

@ -21,6 +21,7 @@ SERVICES+=\ gitea
SERVICES+=\ mobilizon
SERVICES+=\ libib
SERVICES+=\ bookstack
SERVICES+=\ diun
HOSTS+=\ $KEYCLOAK_HOST
HOSTS+=\ $HEDGEDOC_HOST

Loading…
Cancel
Save