Set default host port to 0.0.0.0:8500 and add MUSICGPT_API_KEY env
This commit is contained in:
parent
2ca148be9b
commit
5521022906
1 changed files with 10 additions and 9 deletions
|
|
@ -8,19 +8,19 @@
|
|||
# Environment variables section. The container uses them directly,
|
||||
# so no .env file is required on disk.
|
||||
#
|
||||
# Required: APP_SECRET_KEY, ADMIN_PASSWORD, SMTP_PASS, PUBLIC_BASE_URL
|
||||
# Required: APP_SECRET_KEY, ADMIN_PASSWORD, SMTP_PASS, PUBLIC_BASE_URL, MUSICGPT_API_KEY
|
||||
# Optional: BOOTH_NAME, HOST_PORT, INTERNAL_PORT, PRICE_PER_VERSION,
|
||||
# CURRENCY, MAX_REVISIONS, HERMES_API_KEY, DATABASE, UPLOAD_FOLDER,
|
||||
# SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_FROM
|
||||
#
|
||||
# Named volumes keep the SQLite database and uploaded MP3s persistent
|
||||
# Named volumes keep the SQLite database and uploaded/downloaded songs persistent
|
||||
# across container restarts and redeploys.
|
||||
|
||||
services:
|
||||
booth:
|
||||
build:
|
||||
context: https://gitlab.hallsworth.ca/yrtria/theme-song-booth.git#main
|
||||
container_name: theme-song-booth
|
||||
context: https://gitlab.hallsworth.ca/yrtria/booth-musicgpt.git#main
|
||||
container_name: booth-musicgpt
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- APP_SECRET_KEY=${APP_SECRET_KEY}
|
||||
|
|
@ -35,16 +35,17 @@ services:
|
|||
- INTERNAL_PORT=${INTERNAL_PORT:-8000}
|
||||
- MAX_REVISIONS=${MAX_REVISIONS:-2}
|
||||
- HERMES_API_KEY=${HERMES_API_KEY:-}
|
||||
- MUSICGPT_API_KEY=${MUSICGPT_API_KEY}
|
||||
- PRICE_PER_VERSION=${PRICE_PER_VERSION:-10.00}
|
||||
- CURRENCY=${CURRENCY:-CAD}
|
||||
- DATABASE=${DATABASE:-/app/data/booth.db}
|
||||
- UPLOAD_FOLDER=${UPLOAD_FOLDER:-/app/uploads}
|
||||
ports:
|
||||
- "${HOST_PORT:-127.0.0.1:8000}:${INTERNAL_PORT:-8000}"
|
||||
- "${HOST_PORT:-0.0.0.0:8500}:${INTERNAL_PORT:-8000}"
|
||||
volumes:
|
||||
- booth-data:/app/data
|
||||
- booth-uploads:/app/uploads
|
||||
- booth-musicgpt-data:/app/data
|
||||
- booth-musicgpt-uploads:/app/uploads
|
||||
|
||||
volumes:
|
||||
booth-data:
|
||||
booth-uploads:
|
||||
booth-musicgpt-data:
|
||||
booth-musicgpt-uploads:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue