tmpl-fastapi/.env

23 lines
491 B
Bash
Raw Permalink Normal View History

APP_HOST=0.0.0.0
APP_PORT=8000
# Generate 2 strong secret keys
#
# In Linux terminal:
# tr -dc A-Za-z0-9_- </dev/urandom | head -c 44
# Or in Python:
# import secrets
# print(secrets.token_urlsafe(32))
#
# If these variables are not set,
# the keys are generated automatically
#
#SESSION_KEY=secret
#CSRF_KEY=secret
DB_HOST=${REPO_NAME_KEBAB}-db
2023-02-19 16:49:44 +03:00
DB_PORT=3306
DB_USER=${REPO_NAME_SNAKE}
DB_PASSWORD=password # Generate a password using the same method
2023-02-19 16:49:44 +03:00
DB_DATABASE=${REPO_NAME_SNAKE}