Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
chore: add circle ci database log config
Browse files Browse the repository at this point in the history
  • Loading branch information
crsepulveda committed Oct 20, 2020
1 parent 96ed0f2 commit e9b35a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
- image: circleci/postgres:12
environment:
POSTGRES_USER: circleci
POSTGRES_DB: circle_test
POSTGRES_DB: "circle_test"
POSTGRES_HOST_AUTH_METHOD: trust
environment:
POSTGRES_USER: circleci
POSTGRES_DB: "circle_test_logs"
POSTGRES_HOST_AUTH_METHOD: trust

working_directory: ~/repo
Expand Down
10 changes: 5 additions & 5 deletions project/circleci_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
'HOST': 'localhost',
'PORT': '5432',
},
'logs': {
'logs': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'logs-database-name',
'USER': '',
'NAME': 'circle_test_logs',
'USER': 'circleci',
'PASSWORD': '',
'HOST': '',
'PORT': '',
'HOST': 'localhost',
'PORT': '5432',
}
}

Expand Down

0 comments on commit e9b35a7

Please sign in to comment.