43 lines
1.8 KiB
Text
43 lines
1.8 KiB
Text
# .env.example
|
|
# ============
|
|
#
|
|
# Copy this file to .env for local development, or paste the values into
|
|
# Portainer when deploying the stack.
|
|
#
|
|
# Required for production:
|
|
# APP_SECRET_KEY - long random string used by Flask for sessions
|
|
# ADMIN_PASSWORD - password for the /admin dashboard
|
|
# SMTP_PASS - password for the SMTP account
|
|
# PUBLIC_BASE_URL - public HTTPS URL customers will use (e.g. https://booth.example.com)
|
|
#
|
|
# Optional:
|
|
# BOOTH_NAME - name shown in emails and customer text (default Trollgorithm Theme Songs)
|
|
# HOST_PORT - host-side port mapping for docker-compose (default 127.0.0.1:8000)
|
|
# INTERNAL_PORT - port gunicorn binds inside the container (default 8000)
|
|
# PRICE_PER_VERSION - shown on the receipt page (default 10.00)
|
|
# CURRENCY - currency label (default CAD)
|
|
# MAX_REVISIONS - default customer revision limit (default 2)
|
|
# DATABASE - SQLite database path inside the container (default /app/data/booth.db)
|
|
# UPLOAD_FOLDER - directory for uploaded MP3s inside the container (default /app/uploads)
|
|
# SMTP_HOST - outgoing mail server (default mailroot8.namespro.ca)
|
|
# SMTP_PORT - outgoing mail server port (default 465)
|
|
# SMTP_USER - SMTP login username (default ai@hallsworth.ca)
|
|
# SMTP_FROM - From address for customer emails (default ai@hallsworth.ca)
|
|
|
|
APP_SECRET_KEY=change-me-in-production
|
|
ADMIN_PASSWORD=change-me
|
|
SMTP_HOST=mailroot8.namespro.ca
|
|
SMTP_PORT=465
|
|
SMTP_USER=ai@hallsworth.ca
|
|
SMTP_PASS=
|
|
SMTP_FROM=ai@hallsworth.ca
|
|
ADMIN_ALERT_EMAIL=
|
|
PUBLIC_BASE_URL=http://127.0.0.1:5000
|
|
BOOTH_NAME=Trollgorithm Theme Songs
|
|
INTERNAL_PORT=8000
|
|
HOST_PORT=127.0.0.1:8000
|
|
PRICE_PER_VERSION=10.00
|
|
CURRENCY=CAD
|
|
MAX_REVISIONS=2
|
|
DATABASE=/app/data/booth.db
|
|
UPLOAD_FOLDER=/app/uploads
|