Skip to content

Commit

Permalink
feat: update .env directives
Browse files Browse the repository at this point in the history
  • Loading branch information
davisilvarafacho committed Oct 30, 2024
1 parent 78115e3 commit 82ceb10
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
23 changes: 18 additions & 5 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,27 @@ DATABASE_PORT=5432
EMAIL_PASSWORD=

# rabbitmq
RABBITMQ_HOST=rabbitmq
RABBITMQ_USER=rabbitmq
RABBITMQ_PSSWD=rabbitmq
RABBITMQ_PORT=5672
RABBITMQ_CONNECTION_STRING=

# redis
REDIS_HOST=redis
REDIS_PORT=6379

# integrações
INTEGRATION_TOKEN=33fdcdd1-a9bc-43cf-9cec-194a9f393351
INTEGRATION_TOKEN=33fdcdd1-a9bc-43cf-9cec-194a9f393351


# cloudflare
CLOUDFLARE_API_TOKEN=

# sentry
SENTRY_DSN=

# google
GOOGLE_OAUTH2_CLIENT_ID=
GOOGLE_OAUTH2_CLIENT_SECRET=
GOOGLE_OAUTH2_PROJECT_ID=

# papertrail
PAPERTRAIL_HOSTNAME=
PAPERTRAIL_PORT=
1 change: 0 additions & 1 deletion api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.postgres",
"django.contrib.sites",
"django.contrib.staticfiles",
]
Expand Down
13 changes: 8 additions & 5 deletions utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,23 @@
"DJANGO_DEBUG",
"DJANGO_MODE",
"DJANGO_EXECUTION_MODE",
"DJANGO_LOG_LEVEL",
"DATABASE_NAME",
"DATABASE_USER",
"DATABASE_PASSWORD",
"DATABASE_HOST",
"DATABASE_PORT",
"EMAIL_PASSWORD",
"RABBITMQ_HOST",
"RABBITMQ_USER",
"RABBITMQ_PSSWD",
"RABBITMQ_PORT",
"RABBITMQ_CONNECTION_STRING",
"REDIS_HOST",
"REDIS_PORT",
"INTEGRATION_TOKEN",
"CLOUDFLARE_API_TOKEN",
"SENTRY_DSN",
"GOOGLE_OAUTH2_CLIENT_ID",
"GOOGLE_OAUTH2_CLIENT_SECRET",
"GOOGLE_OAUTH2_PROJECT_ID",
"PAPERTRAIL_HOSTNAME",
"PAPERTRAIL_PORT",
]


Expand Down

0 comments on commit 82ceb10

Please sign in to comment.