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