make db port changeable

This commit is contained in:
flynn 2019-01-21 23:38:59 +01:00
parent 6c919a688f
commit 6a420dee06
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ cat_user: cat
cat_postgres_db: cat cat_postgres_db: cat
cat_postgres_user: cat_user cat_postgres_user: cat_user
cat_postgres_db_port: 5432
# sensitive info # sensitive info
cat_postgres_password: "{{ vault_cat_postgres_password }}" cat_postgres_password: "{{ vault_cat_postgres_password }}"

View file

@ -2,7 +2,7 @@
# Run the java jar # Run the java jar
DATABASE_URL="postgresql://localhost:5432/{{ cat_postgres_db }}?user={{ cat_postgres_user }}&password={{ cat_postgres_password }}" DATABASE_URL="postgresql://localhost:{{ cat_postgres_db_port }}/{{ cat_postgres_db }}?user={{ cat_postgres_user }}&password={{ cat_postgres_password }}"
PORT="{{ cat_app_port }}" PORT="{{ cat_app_port }}"
AUTHORIZE-URI="{{ authorize_uri }}" AUTHORIZE-URI="{{ authorize_uri }}"
ACCESS-TOKEN-URI="{{ access-token-uri }}" ACCESS-TOKEN-URI="{{ access-token-uri }}"