Created
January 19, 2022 16:06
-
-
Save tychota/064c7a40e9114bfd90aae8587677031e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General | |
# ------------------------------------------------------------------------------ | |
# DJANGO_READ_DOT_ENV_FILE=True | |
DJANGO_SETTINGS_MODULE=config.settings.production | |
# A changer avec https://stackoverflow.com/questions/41298963/is-there-a-function-for-generating-settings-secret-key-in-django | |
DJANGO_SECRET_KEY=vhLV6oySo7o7umGDTM6IBzlCY4dNagRbqhUuyNgDNbrYRnlHPR089YUI4gVHRng9 | |
# un truc random pour empécher les attaque sur /admin/ | |
DJANGO_ADMIN_URL=admin_S619DgsRTTPQxzV57UgTtwyOqB6NRJm7/ | |
DJANGO_ALLOWED_HOSTS=.roi.balyo.com | |
# PostgreSQL | |
# ------------------------------------------------------------------------------ | |
POSTGRES_HOST=postgres | |
POSTGRES_PORT=5432 | |
# Dépend du postgres aws | |
POSTGRES_DB=balyo_user_journey | |
# Dépend du postgres aws | |
POSTGRES_USER=FgGhVKvbrkkokYRvzAPozxKQpGLKMNnG | |
# Dépend du postgres aws | |
POSTGRES_PASSWORD=39EzKqCD1Yzjins07q0N5fBTxfnMrNbksMbS707vSeWrQGr5gKV2AP2iv9B2DMxS | |
# Security | |
# ------------------------------------------------------------------------------ | |
# TIP: better off using DNS, however, redirect is OK too | |
DJANGO_SECURE_SSL_REDIRECT=False | |
# ------------------------------------------------------------------------------ | |
# genre webmaster@balyo.com | |
DJANGO_SERVER_EMAIL= | |
# AWS | |
# ------------------------------------------------------------------------------ | |
# A toi de nous le dire. | |
DJANGO_AWS_ACCESS_KEY_ID= | |
DJANGO_AWS_SECRET_ACCESS_KEY= | |
DJANGO_AWS_STORAGE_BUCKET_NAME= | |
# Gunicorn | |
# ------------------------------------------------------------------------------ | |
# En fonction des machines du cluster kube, combien de VCPU, ect... | |
# regarder https://medium.com/building-the-system/gunicorn-3-means-of-concurrency-efbb547674b7 | |
WEB_CONCURRENCY=4 | |
# Sentry | |
# ------------------------------------------------------------------------------ | |
# A créer | |
SENTRY_DSN= | |
# Redis | |
# ------------------------------------------------------------------------------ | |
# Dépend du redis aws | |
REDIS_URL=redis://redis:6379/0 | |
# Celery | |
# ------------------------------------------------------------------------------ | |
# Flower | |
# | |
# idem à randomiser | |
CELERY_FLOWER_USER=pIWLTkJoneXuvOtiNaBTLcjNUumrLuuk | |
CELERY_FLOWER_PASSWORD=VlIXHXxIkXkpYd87SAXYhAhGFseZ5WSORG3vsTm6BoZxvGSLJgS4O6EqFTjiu8SY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment