Files
mcma-bootstrap/templates/env/env.template
T
Senko-san 1b251869c4 initial
2026-06-08 12:49:45 +03:00

42 lines
1.6 KiB
Plaintext

# ============================================================================
# Generated by mcma-bootstrap — chmod 600, DO NOT COMMIT.
# Regenerate with `make deploy`. Secrets here are generated, not chosen.
# ============================================================================
# -- images ---------------------------------------------------------------
BACKEND_IMAGE=git.ollyhearn.ru/olly/mcma-backend
WEBUI_IMAGE=git.ollyhearn.ru/olly/mcma-webui
MCMA_IMAGE_TAG=@MCMA_IMAGE_TAG@
# -- runtime --------------------------------------------------------------
ENVIRONMENT=prod
LOG_LEVEL=INFO
LOG_JSON=true
# -- database / redis -----------------------------------------------------
DATABASE_URL=@DATABASE_URL@
REDIS_URL=@REDIS_URL@
# -- auth (generated) -----------------------------------------------------
JWT_SECRET=@JWT_SECRET@
ACCESS_TOKEN_TTL_SECONDS=900
REFRESH_TOKEN_TTL_SECONDS=2592000
# -- media / storage ------------------------------------------------------
MEDIA_PATH=/data/media
TRANSCODE_CACHE_PATH=/data/transcode-cache
MEDIA_HOST_PATH=@MEDIA_HOST_PATH@
MAX_PARALLEL_DOWNLOADS=2
STORAGE_BACKEND=@STORAGE_BACKEND@
# -- frontend / metadata --------------------------------------------------
# Browser-facing API base URL. Injected into the webui at container start
# (window.__APP_CONFIG__). '/api/v1' = same-origin behind the reverse proxy.
PUBLIC_API_BASE_URL=@PUBLIC_API_BASE_URL@
MUSICBRAINZ_USER_AGENT=mcma-backend/0.1.0 ( https://github.com/your/repo )
# -- published ports ------------------------------------------------------
HTTP_PORT=@HTTP_PORT@
API_PORT=@API_PORT@
WEBUI_PORT=@WEBUI_PORT@