update postgresql opts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
95b557e8ba
commit
7e61ee8a6e
@ -35,7 +35,7 @@ if SENTRY_DSN:
|
|||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config[
|
app.config[
|
||||||
'SQLALCHEMY_DATABASE_URI'] = f"postgresql://{POSTGRES_USERNAME}:{POSTGRES_PASSWORD}@{POSTGRES_HOSTNAME}:5432/{POSTGRES_DB}?sslmode=require"
|
'SQLALCHEMY_DATABASE_URI'] = f"postgresql://{POSTGRES_USERNAME}:{POSTGRES_PASSWORD}@{POSTGRES_HOSTNAME}:5432/{POSTGRES_DB}{POSTGRES_OPTS}"
|
||||||
app.config['EXCHANGE_NAME'] = RABBITMQ_EXCHANGE
|
app.config['EXCHANGE_NAME'] = RABBITMQ_EXCHANGE
|
||||||
app.config['FLASK_PIKA_PARAMS'] = {'host': RABBITMQ_HOST,
|
app.config['FLASK_PIKA_PARAMS'] = {'host': RABBITMQ_HOST,
|
||||||
'username': RABBITMQ_USERNAME,
|
'username': RABBITMQ_USERNAME,
|
||||||
|
Loading…
Reference in New Issue
Block a user