Commit 12deb7f2 authored by j's avatar j

Fix ansible and DB URL

parent d2e8751d
......@@ -17,8 +17,6 @@
- name: Ensure mariadb installation and setup database (see default vars)
become: yes
become_user: root
include_role:
name: geerlingguy.mysql
......
......@@ -2,7 +2,7 @@
# Run the java jar
export DATABASE_URL="mysql://localhost:{{ cat_db_port }}/{{ cat_db_name }}?user={{ cat_db_user }}&password={{ cat_db_password }}"
export DATABASE_URL="mysql://localhost:{{ cat_db_port }}/{{ cat_db_name }}?user={{ cat_db_user }}&password={{ cat_db_password }}?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC"
export PORT="{{ cat_app_port }}"
export APP_HOST="{{ cat_app_host }}"
......@@ -17,4 +17,3 @@ java -jar {{ cat_git_destination }}/releases/cat.jar migrate
java -jar {{ cat_git_destination }}/releases/cat.jar
-Dlogback.configurationFile=env/dev/resources/logback.xml \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment