Update db URI for copr stg

This commit is contained in:
Mikolaj Izdebski 2018-08-27 11:00:44 +00:00
parent a3c87e6cf8
commit e6893f5a7b
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,8 @@ num_cpus: 1
copr_frontend_public_hostname: "copr.stg.fedoraproject.org"
copr_database_password: "{{ copruser_db_password_stg }}"
tcp_ports: [ 80 ]
custom_rules: [

View file

@ -14,7 +14,7 @@ BACKEND_BASE_URL = '{{ backend_base_url }}'
#USE_ALLOWED_USERS = False
#ALLOWED_USERS = ['bonnie', 'clyde']
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://copr-fe:{{ copr_database_password }}@/coprdb'
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://copruser:{{ copr_database_password }}@db01/copr'
# Token length, defaults to 30 (max 255)
#API_TOKEN_LENGTH = 30