Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
bbedward committed Jun 28, 2024
1 parent 8f368da commit 90a9e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class ProdConfig(AppConfig):
]
SCHEDULER_API_ENABLED = True
# Postgres for production
DB_USER = 'monkeytalks'
DB_USER = 'postgres'
DB_PASS = os.getenv("MONKEYTALKS_DB_PASSWORD", "password")
DB_HOST = os.getenv('DB_HOST', '127.0.0.1')
DB_NAME = 'monkeytalks'
DB_NAME = 'postgres'
DATABASE = f'postgresext+pool://{DB_USER}:{DB_PASS}@{DB_HOST}/{DB_NAME}?max_connections=70&stale_timeout=300&autorollback=True'

class TestConfig(AppConfig):
Expand Down

0 comments on commit 90a9e3e

Please sign in to comment.