Use link
This commit is contained in:
parent
63112b9264
commit
3f104772ee
@ -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
|
||||||
|
Reference in New Issue
Block a user