Use link
This commit is contained in:
parent
63112b9264
commit
3f104772ee
@ -20,6 +20,12 @@
|
||||
args:
|
||||
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
|
||||
dokku_storage:
|
||||
app: keycloak
|
||||
@ -31,7 +37,7 @@
|
||||
app: keycloak
|
||||
restart: false
|
||||
config:
|
||||
DB_ADDR: "dokku-mariadb-keycloak"
|
||||
DB_ADDR: "dokku-mariadb-keycloak:3306"
|
||||
DB_DATABASE: "keycloak"
|
||||
DB_PASSWORD: "{{ db_passwd }}"
|
||||
DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89
|
||||
|
Reference in New Issue
Block a user