podcastrr/docker-compose.yml
Cody Cook 9e19ae6cf6
Some checks failed
Build and Publish / test (push) Successful in 20s
Build and Publish / build (push) Failing after 5m33s
Build and Publish / notify (push) Successful in 1s
Add a test and make changez?
2025-06-17 20:36:20 -07:00

28 lines
955 B
YAML

version: '3.8'
services:
app:
# Configuration options:
# Option 1: Use the published Docker image from Forgejo registry (recommended for production)
# Uncomment the image line and comment out the build section
image: ${FORGEJO_REGISTRY}/${FORGEJO_USERNAME}/podcastrr:latest
# Option 2: Build from local Dockerfile (for development)
# Uncomment the build section and comment out the image line
# build:
# context: .
# dockerfile: Dockerfile
ports:
- "${PORT:-5000}:5000"
volumes:
- ./downloads:/app/downloads
- ./instance:/app/instance
environment:
- FLASK_ENV=${FLASK_ENV:-production}
- SECRET_KEY=${SECRET_KEY:-change_this_to_a_secure_random_string}
- DATABASE_URI=${DATABASE_URI:-sqlite:///instance/podcastrr.db}
- DOWNLOAD_PATH=${DOWNLOAD_PATH:-/app/downloads}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- PORT=${PORT:-5000}
restart: unless-stopped