init3
This commit is contained in:
parent
320ecb3e5a
commit
e30a019dd2
|
@ -2,7 +2,7 @@ import sys
|
|||
from os import environ
|
||||
|
||||
|
||||
PORT = 8080
|
||||
PORT = 8000
|
||||
DB_URL = (
|
||||
environ.get('DATABASE_URL', '').replace('postgres://', 'postgresql://')
|
||||
or environ.get('DB_URL', '').replace('postgres://', 'postgresql://')
|
||||
|
@ -11,8 +11,8 @@ DB_URL = (
|
|||
REDIS_URL = environ.get('REDIS_URL') or 'redis://127.0.0.1'
|
||||
API_BASE = environ.get('API_BASE') or 'http://127.0.0.1:8001'
|
||||
AUTH_URL = environ.get('AUTH_URL') or 'http://127.0.0.1:8080/graphql'
|
||||
ADMIN_SECRET = environ.get('ADMIN_SECRET') or 'nothing'
|
||||
|
||||
SENTRY_DSN = environ.get('SENTRY_DSN')
|
||||
DEV_SERVER_PID_FILE_NAME = 'dev-server.pid'
|
||||
MODE = 'development' if 'dev' in sys.argv else 'production'
|
||||
|
||||
ADMIN_SECRET = environ.get('ADMIN_SECRET') or 'nothing'
|
||||
|
|
Loading…
Reference in New Issue
Block a user