21 lines
643 B
YAML
21 lines
643 B
YAML
# Added only by isolated CI integration; no production ports or volumes.
|
|
services:
|
|
prompt-studio:
|
|
image: ${STUDIO_REVIEW_IMAGE:?Build the Studio review image first}
|
|
init: true
|
|
environment:
|
|
HOSTNAME: 0.0.0.0
|
|
PORT: "3000"
|
|
STUDIO_WIKI_ORIGIN: http://waterfall-wiki:3000
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop: [ALL]
|
|
healthcheck:
|
|
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3000/studio/api/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))"]
|
|
interval: 5s
|
|
timeout: 8s
|
|
retries: 24
|
|
tests:
|
|
environment:
|
|
VERIFY_CANVAS_UI: "1"
|