Use the Dokku env var to connect to the DB

This commit is contained in:
Luke Murphy 2020-03-22 17:06:10 +01:00
parent d24ab3a96c
commit b6e7fd3a18
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -92,7 +92,7 @@
ADMIN_MAIL: "{{ autonomic_admin_mail }}"
ADMIN_PASS: "{{ autonomic_admin_pass }}"
ADMIN_USER: "{{ autonomic_admin_user }}"
DB_HOST: "dokku-mariadb-keycloak:3306"
DB_HOST: "$DOKKU_MARIADB_LOLIPOP_PORT_3306_TCP"
DB_NAME: "gitea"
DB_PASSWD: "{{ db_passwd }}"
DB_TYPE: "mysql"