v3: compose — pin project identity to v2 deployment (in-place swap, shared live volume)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Project name pinned to the v2 deployment identity: same container name, same
|
||||
# host port, and — critically — the same `newbury-exhibit_exhibit-live` volume,
|
||||
# so live scene/playlist/character state carries straight over and rolling back
|
||||
# to v2 is just `cd ~/newbury-exhibit && docker compose up -d --build`.
|
||||
name: newbury-exhibit
|
||||
services:
|
||||
exhibit:
|
||||
build: .
|
||||
container_name: newbury-exhibit
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# HOST_PORT lets an existing nginx proxy keep its port (set in .env); container stays on 33044
|
||||
- "${HOST_PORT:-33044}:33044"
|
||||
environment:
|
||||
# dev = admin open + on-screen error overlay; final = password-protected admin
|
||||
EXHIBIT_MODE: ${EXHIBIT_MODE:-dev}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-}
|
||||
volumes:
|
||||
# live scene/playlist edits survive rebuilds and redeploys
|
||||
- exhibit-live:/app/data/live
|
||||
# drop OBJ ghost models here without rebuilding the image
|
||||
- ./public/models:/app/public/models
|
||||
volumes:
|
||||
exhibit-live:
|
||||
Reference in New Issue
Block a user