Production config fixes
- Deletes redundant files - Adds right-tree db env vars to default.env - Updates port mapping for docker-compose.production.yaml - Adjusts production methods in dev
This commit is contained in:
parent
e99cf44312
commit
ecc6e9eabe
6 changed files with 41 additions and 67 deletions
|
@ -85,10 +85,10 @@ WSGI_APPLICATION = 'right_tree.wsgi.application'
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.contrib.gis.db.backends.postgis',
|
||||
'NAME': 'right_tree',
|
||||
'USER': os.getenv("POSTGRES_DB", "postgres"),
|
||||
'PASSWORD': os.getenv("POSTGRES_USER", "postgres"),
|
||||
'HOST': os.getenv("POSTGRES_PASSWORD", "postgres"),
|
||||
'NAME': os.getenv("RIGHTTREE_DB", "postgres"),
|
||||
'USER': os.getenv("RIGHTTREE_DB_USER", "postgres"),
|
||||
'PASSWORD': os.getenv("RIGHTTREE_DB_PASSWORD", "postgres"),
|
||||
'HOST': os.getenv("POSTGRES_DB", "postgres"),
|
||||
'PORT': 5432,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue