You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import os
|
|
|
|
USER = os.environ.get('DB_USER')
|
|
PASSWORD = os.environ.get('DB_PASSWORD')
|
|
|
|
|
|
class ProductionConfig():
|
|
"""Production configuration"""
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
SQLALCHEMY_DATABASE_URI = f'postgres://{USER}:{PASSWORD}@db:5432/users'
|