22 lines
491 B
Bash
22 lines
491 B
Bash
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
|
|
DB_PORT=3306
|
|
DB_USER=${REPO_NAME_SNAKE}
|
|
DB_PASSWORD=password # Generate a password using the same method
|
|
DB_DATABASE=${REPO_NAME_SNAKE}
|