config change
This commit is contained in:
parent
c201072ecc
commit
5c09cf38b1
2 changed files with 5 additions and 2 deletions
|
@ -2,7 +2,10 @@ import socket
|
|||
|
||||
HOSTNAME = socket.gethostname()
|
||||
|
||||
ENV = 'DEV'
|
||||
if HOSTNAME.startswith('lsn-'):
|
||||
ENV = 'PROD'
|
||||
else:
|
||||
ENV = 'DEV'
|
||||
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql://deploy:dbpassword@localhost:5432/realms'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue