Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Add production config
Browse files Browse the repository at this point in the history
This is copied from alphagov-deployment. These files don't contain
any secrets, but they import from a file called `environment.py`
which does.
  • Loading branch information
alexmuller committed Sep 25, 2016
1 parent f186273 commit a5f06f4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions backdrop/read/config/production.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import os

DATABASE_NAME = "backdrop"
MONGO_HOSTS = ['performance-mongo-1', 'performance-mongo-2', 'performance-mongo-3']
MONGO_PORT = 27017
LOG_LEVEL = "INFO"

from environment import *
1 change: 1 addition & 0 deletions backdrop/transformers/config/production.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from environment import *
15 changes: 15 additions & 0 deletions backdrop/write/config/production.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
DATABASE_NAME = "backdrop"
MONGO_HOSTS = ['performance-mongo-1', 'performance-mongo-2', 'performance-mongo-3']
MONGO_PORT = 27017
LOG_LEVEL = "INFO"
DATA_SET_UPLOAD_FORMAT = {
"ithc_excel": "excel",
}
DATA_SET_UPLOAD_FILTERS = {
"ithc_excel": [
"backdrop.core.upload.filters.first_sheet_filter",
],
}
SESSION_COOKIE_SECURE=True

from environment import *

0 comments on commit a5f06f4

Please sign in to comment.