aboutsummaryrefslogtreecommitdiff
path: root/instance
diff options
context:
space:
mode:
Diffstat (limited to 'instance')
-rw-r--r--instance/production.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/instance/production.py b/instance/production.py
index d57520b8..d0aebd7e 100644
--- a/instance/production.py
+++ b/instance/production.py
@@ -5,7 +5,7 @@ import os
#
# Webserver
-HOST = "127.0.0.1"
+HOST = "0.0.0.0"
PORT = 5000
DEBUG = False
API_ROOT = "/api/v2.0"
@@ -16,12 +16,12 @@ SECURITY_PASSWORD_SALT = "L8gTsyrpRQEF8jNWQPyvRfv7U5kJkD"
# Database
DB_CONFIG_DICT = {
- "user": "user",
+ "user": "postgres",
"password": "password",
- "host": "localhost",
+ "host": "db",
"port": 5432,
}
-DATABASE_NAME = "newspipe"
+DATABASE_NAME = "postgres"
SQLALCHEMY_DATABASE_URI = "postgres://{user}:{password}@{host}:{port}/{name}".format(
name=DATABASE_NAME, **DB_CONFIG_DICT
)
bgstack15