This repository has been archived on 2026-09-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
theme-song-booth/docker-compose.yml
Troll (Hermes Agent) 4af9322c9d docs: update comments and README to reflect current feature set
- Refresh app.py module and route docstrings for runtime settings,
  MP3 tagging, rate limiting, revision workflow, and admin actions.
- Clarify config.py and models.py comments.
- Update template comments/CSS for dashboard filters, request detail,
  player page, and settings page.
- Rewrite README.md with current features, status flow, file layout,
  deployment variables, and troubleshooting.
- Refresh REVIEW.md quick-reference.
- Add MAX_REVISIONS to docker-compose.yml environment list.
- Expand requirements.txt comment coverage.

No version history or changelog included.
2026-08-02 00:07:24 +00:00

44 lines
1.5 KiB
YAML

# docker-compose.yml
# ==================
#
# Portainer stack definition.
# Builds the image directly from the GitLab repository (main branch).
#
# Environment variables are set in Portainer under the stack's
# Environment variables section. The container uses them directly,
# so no .env file is required on disk.
#
# Named volumes keep the SQLite database and uploaded MP3s 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
restart: unless-stopped
environment:
- APP_SECRET_KEY=${APP_SECRET_KEY}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SMTP_HOST=${SMTP_HOST:-mailroot8.namespro.ca}
- SMTP_PORT=${SMTP_PORT:-465}
- SMTP_USER=${SMTP_USER:-ai@hallsworth.ca}
- SMTP_PASS=${SMTP_PASS}
- SMTP_FROM=${SMTP_FROM:-ai@hallsworth.ca}
- PUBLIC_BASE_URL=${PUBLIC_BASE_URL}
- BOOTH_NAME=${BOOTH_NAME:-Trollgorithm Theme Songs}
- INTERNAL_PORT=${INTERNAL_PORT:-8000}
- MAX_REVISIONS=${MAX_REVISIONS:-2}
- 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}"
volumes:
- booth-data:/app/data
- booth-uploads:/app/uploads
volumes:
booth-data:
booth-uploads: