Skip to content

Commit

Permalink
Adding project .env directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianwebb committed Aug 26, 2024
1 parent 5a9f9ec commit 7aa0f11
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ target/
celerybeat-schedule

# Environments
.env
.venv
env/
venv/
ENV/

Expand Down
13 changes: 13 additions & 0 deletions {{cookiecutter.project_slug}}/.env/.django
Original file line number Diff line number Diff line change
@@ -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"
7 changes: 7 additions & 0 deletions {{cookiecutter.project_slug}}/.env/.postgres
Original file line number Diff line number Diff line change
@@ -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!!!"
5 changes: 5 additions & 0 deletions {{cookiecutter.project_slug}}/.env/.redis
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Redis
# ------------------------------------------------------------------------------
REDIS_HOST="redis"
REDIS_PORT=6379
REDIS_PASSWORD="!!!SET REDIS_PASSWORD!!!"

0 comments on commit 7aa0f11

Please sign in to comment.