tmpl-fastapi/.env

17 lines
392 B
Bash

APP_HOST=0.0.0.0
APP_PORT=8000
# Generate a strong secret key
#
# On Linux: tr -dc A-Za-z0-9_- </dev/urandom | head -c 44
# With Python: import secrets; secrets.token_urlsafe(32)
#
# If this variable is not set,
# the key is generated automatically
#SECRET_KEY=secret
DB_HOST=${REPO_NAME_SNAKE}_db
DB_PORT=3306
DB_USER=${REPO_NAME_SNAKE}
DB_PASSWORD=password
DB_DATABASE=${REPO_NAME_SNAKE}