mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 05:30:16 +03:00
Persist .env/**/*
files into cookiecutter-django's VCS
This commit is contained in:
parent
ec887c11e8
commit
b4db0847bd
1
{{cookiecutter.project_slug}}/.env/.local/.django
Normal file
1
{{cookiecutter.project_slug}}/.env/.local/.django
Normal file
|
@ -0,0 +1 @@
|
|||
USE_DOCKER=yes
|
2
{{cookiecutter.project_slug}}/.env/.local/.postgres
Normal file
2
{{cookiecutter.project_slug}}/.env/.local/.postgres
Normal file
|
@ -0,0 +1,2 @@
|
|||
POSTGRES_USER=postgresuser
|
||||
POSTGRES_PASSWORD=postgrespassword
|
1
{{cookiecutter.project_slug}}/.env/.production/.caddy
Normal file
1
{{cookiecutter.project_slug}}/.env/.production/.caddy
Normal file
|
@ -0,0 +1 @@
|
|||
DOMAIN_NAME={{ cookiecutter.domain_name }}
|
30
{{cookiecutter.project_slug}}/.env/.production/.django
Normal file
30
{{cookiecutter.project_slug}}/.env/.production/.django
Normal file
|
@ -0,0 +1,30 @@
|
|||
# DJANGO_READ_DOT_ENV_FILE=True
|
||||
DJANGO_SETTINGS_MODULE=config.settings.production
|
||||
DJANGO_SECRET_KEY=CHANGEME!!!
|
||||
DJANGO_ALLOWED_HOSTS=.{{ cookiecutter.domain_name }}
|
||||
|
||||
DJANGO_ADMIN_URL=
|
||||
DJANGO_ACCOUNT_ALLOW_REGISTRATION=True
|
||||
{% if cookiecutter.use_compressor == 'y' -%}
|
||||
COMPRESS_ENABLED=
|
||||
{% endif %}
|
||||
|
||||
{% if cookiecutter.use_sentry_for_error_reporting == 'y' -%}
|
||||
DJANGO_SENTRY_DSN=
|
||||
{% endif %}
|
||||
{% if cookiecutter.use_opbeat == 'y' -%}
|
||||
DJANGO_OPBEAT_ORGANIZATION_ID=
|
||||
DJANGO_OPBEAT_APP_ID=
|
||||
DJANGO_OPBEAT_SECRET_TOKEN=
|
||||
{% endif %}
|
||||
|
||||
DJANGO_MAILGUN_API_KEY=
|
||||
DJANGO_SERVER_EMAIL=
|
||||
MAILGUN_SENDER_DOMAIN=
|
||||
|
||||
# Major security concern! You'd be better off using DNS.
|
||||
DJANGO_SECURE_SSL_REDIRECT=False
|
||||
|
||||
DJANGO_AWS_ACCESS_KEY_ID=
|
||||
DJANGO_AWS_SECRET_ACCESS_KEY=
|
||||
DJANGO_AWS_STORAGE_BUCKET_NAME=
|
2
{{cookiecutter.project_slug}}/.env/.production/.postgres
Normal file
2
{{cookiecutter.project_slug}}/.env/.production/.postgres
Normal file
|
@ -0,0 +1,2 @@
|
|||
POSTGRES_PASSWORD=
|
||||
POSTGRES_USER=
|
Loading…
Reference in New Issue
Block a user