3a63ced4d4
Adds a step_youtube wizard prompt (enable + cookies host folder), the @YOUTUBE_VOLUME@ token in templates/compose/backend.yml substituted in compose_gen, a YOUTUBE_ENABLED/cookies env block, ensure_youtube_dir in lifecycle, en/ru strings, and a README step. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
631 B
YAML
23 lines
631 B
YAML
# -- backend: one image, two roles (API server + arq worker) -------------
|
|
api:
|
|
image: ${BACKEND_IMAGE}:${MCMA_IMAGE_TAG}
|
|
restart: unless-stopped
|
|
env_file: .env.deploy
|
|
volumes:
|
|
- ${MEDIA_HOST_PATH}:${MEDIA_PATH}
|
|
- transcode_cache:${TRANSCODE_CACHE_PATH}
|
|
@YOUTUBE_VOLUME@
|
|
@API_PORTS@
|
|
@API_DEPENDS@
|
|
|
|
worker:
|
|
image: ${BACKEND_IMAGE}:${MCMA_IMAGE_TAG}
|
|
restart: unless-stopped
|
|
command: arq app.workers.arq_worker.WorkerSettings
|
|
env_file: .env.deploy
|
|
volumes:
|
|
- ${MEDIA_HOST_PATH}:${MEDIA_PATH}
|
|
- transcode_cache:${TRANSCODE_CACHE_PATH}
|
|
@YOUTUBE_VOLUME@
|
|
@WORKER_DEPENDS@
|