update port name and postgres dependency

This commit is contained in:
flynn 2019-01-21 23:30:04 +01:00
parent e321099016
commit f008507dd6
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ cat_postgres_password: "{{ vault_cat_postgres_password }}"
cat_git_destination: "/home/{{ cat_user }}/cat_src"
port: 3000
cat_app_port: 3000
authorize-uri: "https://adams.ugent.be/oauth/oauth2/authorize/"
access-token-uri: "https://adams.ugent.be/oauth/oauth2/token/"

View File

@ -20,7 +20,7 @@
name: "{{ packages }}"
vars:
packages:
- psycopg2
- python-psycopg2
- postgres-9.6
- name: Create database

View File

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