diff --git a/.env.sample b/.env.sample index 7584539..2ee651f 100644 --- a/.env.sample +++ b/.env.sample @@ -65,6 +65,10 @@ DEFAULT_QUOTA="10 GB" # BBB_URL=https://talk.example.org/bigbluebutton/ # trailing slash! # SECRET_BBB_SECRET_VERSION=v1 +# COMPOSE_FILE="$COMPOSE_FILE:compose.whiteboard.yml" +# APPS="$APPS whiteboard" +# WHITEBOARD_JWT="" # generate JWT token for whiteboard! + # COMPOSE_FILE="$COMPOSE_FILE:compose.authentik.yml" # APPS="$APPS sociallogin" # AUTHENTIK_USER_PREFIX=authentik diff --git a/abra.sh b/abra.sh index 4506077..27f4a18 100644 --- a/abra.sh +++ b/abra.sh @@ -93,6 +93,13 @@ install_collabora() { set_app_config richdocuments wopi_url "$COLLABORA_URL" } +install_whiteboard() { + install_apps whiteboard + set_app_config whiteboard collabBackendUrl "https://${DOMAIN}/whiteboard" + set_app_config whiteboard jwt_secret_key "${WHITEBOARD_JWT}" +} + + install_fulltextsearch() { install_apps fulltextsearch install_apps fulltextsearch_elasticsearch diff --git a/compose.whiteboard.yml b/compose.whiteboard.yml new file mode 100644 index 0000000..843100b --- /dev/null +++ b/compose.whiteboard.yml @@ -0,0 +1,22 @@ +version: "3.8" + +services: + whiteboard: + image: ghcr.io/nextcloud-releases/whiteboard:v1.0.5 + deploy: + labels: + - traefik.enable=true + - traefik.docker.network=proxy + - traefik.http.services.${STACK_NAME}_whiteboard.loadbalancer.server.port=3002 + - traefik.http.routers.${STACK_NAME}_whiteboard.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS}) && PathPrefix(`/whiteboard`) + - traefik.http.routers.${STACK_NAME}_whiteboard.entrypoints=web-secure + - traefik.http.routers.${STACK_NAME}_whiteboard.tls.certresolver=${LETS_ENCRYPT_ENV} + - traefik.http.middlewares.${STACK_NAME}_whiteboard-stripprefix.stripprefix.prefixes=/whiteboard + - traefik.http.routers.${STACK_NAME}_whiteboard.middlewares=${STACK_NAME}_whiteboard-stripprefix + networks: + - proxy + ports: + - 3002:3002 + environment: + - NEXTCLOUD_URL=https://$DOMAIN + - JWT_SECRET_KEY=${WHITEBOARD_JWT} \ No newline at end of file diff --git a/compose.yml b/compose.yml index 6a0fa73..03493d5 100644 --- a/compose.yml +++ b/compose.yml @@ -91,7 +91,7 @@ services: failure_action: rollback order: start-first labels: - - "coop-cloud.${STACK_NAME}.version=11.1.0+30.0.6-fpm" + - "coop-cloud.${STACK_NAME}.version=11.2.0+30.0.6-fpm" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - "backupbot.backup=${ENABLE_BACKUPS:-true}" - "backupbot.backup.volumes.redis=false"