diff --git a/.gitignore b/.gitignore index b12d36e..72cbe7f 100644 --- a/.gitignore +++ b/.gitignore @@ -65,9 +65,7 @@ target/ celerybeat-schedule # Environments -.env .venv -env/ venv/ ENV/ diff --git a/{{cookiecutter.project_slug}}/.env/.django b/{{cookiecutter.project_slug}}/.env/.django new file mode 100644 index 0000000..0bd54a2 --- /dev/null +++ b/{{cookiecutter.project_slug}}/.env/.django @@ -0,0 +1,13 @@ +# General +# ------------------------------------------------------------------------------ +DOMAIN_NAME="localhost" +BASE_UI_URL="http://localhost:3000" +BASE_API_URL="http://localhost:8080" + +USE_DOCKER=yes + +DJANGO_SECRET_KEY="!!!SET DJANGO_SECRET_KEY!!!" + +# Mailgun +# ------------------------------------------------------------------------------ +MAILGUN_API_URL="https://api.mailgun.net/v3" diff --git a/{{cookiecutter.project_slug}}/.env/.postgres b/{{cookiecutter.project_slug}}/.env/.postgres new file mode 100644 index 0000000..d3e05ab --- /dev/null +++ b/{{cookiecutter.project_slug}}/.env/.postgres @@ -0,0 +1,7 @@ +# PostgreSQL +# ------------------------------------------------------------------------------ +POSTGRES_HOST="postgres" +POSTGRES_PORT=5432 +POSTGRES_DB="{{ cookiecutter.project_slug }}" +POSTGRES_USER="!!!SET POSTGRES_USER!!!" +POSTGRES_PASSWORD="!!!SET POSTGRES_PASSWORD!!!" diff --git a/{{cookiecutter.project_slug}}/.env/.redis b/{{cookiecutter.project_slug}}/.env/.redis new file mode 100644 index 0000000..c9edced --- /dev/null +++ b/{{cookiecutter.project_slug}}/.env/.redis @@ -0,0 +1,5 @@ +# Redis +# ------------------------------------------------------------------------------ +REDIS_HOST="redis" +REDIS_PORT=6379 +REDIS_PASSWORD="!!!SET REDIS_PASSWORD!!!"