Restore PROMPT branding, rename waterfall-wiki, and add system tag workflows
This commit is contained in:
+17
-17
@@ -1,4 +1,4 @@
|
||||
x-app-environment: &app-environment
|
||||
x-waterfall-wiki-environment: &waterfall-wiki-environment
|
||||
HOSTNAME: 0.0.0.0
|
||||
PORT: "3000"
|
||||
DATABASE_URL: postgresql://prompt:${POSTGRES_PASSWORD:?Set a unique PostgreSQL password}@postgres:5432/prompt
|
||||
@@ -10,14 +10,14 @@ x-app-environment: &app-environment
|
||||
FFMPEG_PATH: /usr/bin/ffmpeg
|
||||
FFPROBE_PATH: /usr/bin/ffprobe
|
||||
CHROMIUM_PATH: /usr/bin/chromium
|
||||
RENDER_ORIGIN: http://web:3000
|
||||
RENDER_ORIGIN: http://waterfall-wiki:3000
|
||||
AUTH_CONFIG_FILE: ${AUTH_CONFIG_FILE:-}
|
||||
AUTH_COOKIE_SECURE: ${AUTH_COOKIE_SECURE:-true}
|
||||
|
||||
x-app: &app
|
||||
image: ${PROMPT_IMAGE:-prompt:local}
|
||||
x-waterfall-wiki: &waterfall-wiki
|
||||
image: ${WATERFALL_WIKI_IMAGE:-waterfall-wiki:local}
|
||||
restart: unless-stopped
|
||||
environment: *app-environment
|
||||
environment: *waterfall-wiki-environment
|
||||
init: true
|
||||
volumes:
|
||||
- auth_data:/auth:ro
|
||||
@@ -31,8 +31,8 @@ x-app: &app
|
||||
condition: service_started
|
||||
|
||||
services:
|
||||
web:
|
||||
<<: *app
|
||||
waterfall-wiki:
|
||||
<<: *waterfall-wiki
|
||||
ports:
|
||||
- "${WEB_BIND_ADDRESS:-0.0.0.0}:${WEB_PORT:-18131}:3000"
|
||||
healthcheck:
|
||||
@@ -41,8 +41,8 @@ services:
|
||||
timeout: 8s
|
||||
retries: 24
|
||||
start_period: 10s
|
||||
worker:
|
||||
<<: *app
|
||||
waterfall-wiki-worker:
|
||||
<<: *waterfall-wiki
|
||||
command: ["node", "worker.cjs"]
|
||||
stop_grace_period: 11m
|
||||
healthcheck:
|
||||
@@ -52,7 +52,7 @@ services:
|
||||
retries: 4
|
||||
start_period: 10s
|
||||
auth-admin:
|
||||
<<: *app
|
||||
<<: *waterfall-wiki
|
||||
profiles: [tools]
|
||||
restart: "no"
|
||||
user: root
|
||||
@@ -62,27 +62,27 @@ services:
|
||||
- auth_data:/auth
|
||||
command: ["node", "auth-cli.cjs", "init"]
|
||||
migrate:
|
||||
<<: *app
|
||||
<<: *waterfall-wiki
|
||||
profiles: [tools]
|
||||
restart: "no"
|
||||
command: ["node", "bootstrap.cjs"]
|
||||
publish:
|
||||
<<: *app
|
||||
<<: *waterfall-wiki
|
||||
profiles: [tools]
|
||||
restart: "no"
|
||||
command: ["node", "publish-learning-series.cjs"]
|
||||
tests:
|
||||
image: ${PROMPT_TEST_IMAGE:-prompt:tests}
|
||||
image: ${WATERFALL_WIKI_TEST_IMAGE:-waterfall-wiki:tests}
|
||||
profiles: [tools]
|
||||
init: true
|
||||
environment:
|
||||
<<: *app-environment
|
||||
<<: *waterfall-wiki-environment
|
||||
PROMPT_INTEGRATION_TEST: "1"
|
||||
PROMPT_TEST_BASE_URL: http://web:3000
|
||||
PROMPT_TEST_BASE_URL: http://waterfall-wiki:3000
|
||||
depends_on:
|
||||
web:
|
||||
waterfall-wiki:
|
||||
condition: service_healthy
|
||||
worker:
|
||||
waterfall-wiki-worker:
|
||||
condition: service_healthy
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
|
||||
Reference in New Issue
Block a user