Build packages, maybe?
This commit is contained in:
parent
f7a919ebf2
commit
7f423652e3
7 changed files with 295 additions and 9 deletions
|
@ -2,18 +2,23 @@ version: '3.8'
|
|||
|
||||
services:
|
||||
app:
|
||||
# Use either build or image configuration
|
||||
# For local development:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
# For Forgejo registry (uncomment and update):
|
||||
# image: ${FORGEJO_REGISTRY}/${FORGEJO_USERNAME}/podcastrr:latest
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "${PORT:-5000}:5000"
|
||||
volumes:
|
||||
- ./downloads:/app/downloads
|
||||
- ./instance:/app/instance
|
||||
environment:
|
||||
- FLASK_ENV=production
|
||||
- SECRET_KEY=change_this_to_a_secure_random_string
|
||||
- DATABASE_URI=sqlite:///instance/podcastrr.db
|
||||
- DOWNLOAD_PATH=/app/downloads
|
||||
- LOG_LEVEL=INFO
|
||||
restart: unless-stopped
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue