add port to environment

This commit is contained in:
flynn 2019-01-21 22:20:07 +01:00
parent 69efe5787d
commit e5174cb1c6
2 changed files with 3 additions and 0 deletions

View file

@ -10,3 +10,5 @@ cat_postgres_user: cat_user
cat_postgres_password: "{{ vault_cat_postgres_password }}"
cat_git_destination: /home/{{ cat_user }}/cat_src
port: 3000

View file

@ -79,3 +79,4 @@
shell: java -jar {{cat_git_destination }}/target/uberjar/cat.jar
environment:
DATABASE_URL: "postgresql://localhost:5432/{{ cat_postgres_db }}?user={{ cat_postgres_user }}&password={{ cat_postgres_password }}"
PORT: "{{ port }}"