Files
Nicholas Ward 2dfa4e7563
Build server image / build (push) Failing after 2s
Prepare repository for public release
Remove embedded credentials and private deployment configuration; document the remaining publication checks.
2026-09-18 15:19:41 -05:00

30 lines
659 B
YAML

name: short-form-video
services:
server:
build: ./server
ports:
- "8080:8080"
environment:
MEDIA_ROOT: /media
DATA_ROOT: /data
RESCAN_INTERVAL: 1m
API_TOKEN: ${API_TOKEN:?Set API_TOKEN in .env or the environment}
volumes:
- type: volume
source: catalog-data
target: /data
- type: bind
source: ${MEDIA_PATH:-./sample-media}
target: /media
read_only: true
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://127.0.0.1:8080/healthz"]
interval: 30s
timeout: 3s
retries: 3
volumes:
catalog-data: