This commit is contained in:
Luke Murphy 2020-03-22 17:58:49 +01:00
parent 63112b9264
commit 3f104772ee
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -20,6 +20,12 @@
args: args:
creates: /var/lib/dokku/services/mariadb/keycloak creates: /var/lib/dokku/services/mariadb/keycloak
- name: Link mariadb database to application
dokku_service_link:
app: keycloak
name: keycloak
service: mariadb
- name: Specify mariadb docker volume mounts - name: Specify mariadb docker volume mounts
dokku_storage: dokku_storage:
app: keycloak app: keycloak
@ -31,7 +37,7 @@
app: keycloak app: keycloak
restart: false restart: false
config: config:
DB_ADDR: "dokku-mariadb-keycloak" DB_ADDR: "dokku-mariadb-keycloak:3306"
DB_DATABASE: "keycloak" DB_DATABASE: "keycloak"
DB_PASSWORD: "{{ db_passwd }}" DB_PASSWORD: "{{ db_passwd }}"
DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89 DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89