Add a stage branch deploy beside production on z00.
Pushing stage runs CI and deploys to stage.transcribe.z00.nu with its own data, Reverb credentials, and Caddy network.
This commit is contained in:
+9
-5
@@ -30,6 +30,10 @@ x-app-env: &app-env
|
||||
REVERB_SCHEME: http
|
||||
REVERB_SERVER_HOST: 0.0.0.0
|
||||
REVERB_SERVER_PORT: 8080
|
||||
# Browser-facing Reverb (Blade meta). Overlay sets public host for z00.
|
||||
REVERB_PUBLIC_HOST: ${REVERB_PUBLIC_HOST:-localhost}
|
||||
REVERB_PUBLIC_PORT: ${REVERB_PUBLIC_PORT:-8081}
|
||||
REVERB_PUBLIC_SCHEME: ${REVERB_PUBLIC_SCHEME:-http}
|
||||
LOCAL_WHISPER_URL: http://whisper:8000/v1
|
||||
LOCAL_WHISPER_API_KEY: ${LOCAL_WHISPER_API_KEY:-not-needed}
|
||||
LOCAL_WHISPER_MODEL: ${LOCAL_WHISPER_MODEL:-Systran/faster-whisper-base}
|
||||
@@ -56,7 +60,7 @@ services:
|
||||
VITE_REVERB_HOST: ${VITE_REVERB_HOST:-localhost}
|
||||
VITE_REVERB_PORT: ${REVERB_HOST_PORT:-8081}
|
||||
VITE_REVERB_SCHEME: ${VITE_REVERB_SCHEME:-http}
|
||||
container_name: andytranscribe-app
|
||||
container_name: ${CONTAINER_PREFIX:-andytranscribe}-app
|
||||
ports:
|
||||
- "${APP_HOST_PORT:-8080}:80"
|
||||
environment:
|
||||
@@ -81,7 +85,7 @@ services:
|
||||
# `docker compose up --build` builds `app` first, then starts these with the tagged image.
|
||||
queue:
|
||||
<<: *app-image
|
||||
container_name: andytranscribe-queue
|
||||
container_name: ${CONTAINER_PREFIX:-andytranscribe}-queue
|
||||
command:
|
||||
- php
|
||||
- artisan
|
||||
@@ -108,7 +112,7 @@ services:
|
||||
|
||||
reverb:
|
||||
<<: *app-image
|
||||
container_name: andytranscribe-reverb
|
||||
container_name: ${CONTAINER_PREFIX:-andytranscribe}-reverb
|
||||
command:
|
||||
- php
|
||||
- artisan
|
||||
@@ -132,7 +136,7 @@ services:
|
||||
|
||||
whisper:
|
||||
image: fedirz/faster-whisper-server:latest-cpu
|
||||
container_name: andytranscribe-whisper
|
||||
container_name: ${CONTAINER_PREFIX:-andytranscribe}-whisper
|
||||
ports:
|
||||
# Host 8090 avoids clashing with the FrankenPHP app on 8080
|
||||
- "${WHISPER_HOST_PORT:-8090}:8000"
|
||||
@@ -153,7 +157,7 @@ services:
|
||||
whisper-gpu:
|
||||
profiles: ["gpu"]
|
||||
image: fedirz/faster-whisper-server:latest-cuda
|
||||
container_name: andytranscribe-whisper-gpu
|
||||
container_name: ${CONTAINER_PREFIX:-andytranscribe}-whisper-gpu
|
||||
ports:
|
||||
- "${WHISPER_HOST_PORT:-8090}:8000"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user