Trying linking

This commit is contained in:
Luke Murphy 2020-03-22 16:56:01 +01:00
parent 5fac4289c7
commit 1db1de80db
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -26,6 +26,12 @@
args: args:
creates: /var/lib/dokku/services/mariadb/gitea creates: /var/lib/dokku/services/mariadb/gitea
- name: Link mariadb database to application
dokku_service_link:
app: keycloak
name: keycloak
service: mariadb
- name: Setup host Gitea group - name: Setup host Gitea group
group: group:
name: gitea name: gitea
@ -88,7 +94,7 @@
ADMIN_PASS: "{{ autonomic_admin_pass }}" ADMIN_PASS: "{{ autonomic_admin_pass }}"
ADMIN_USER: "{{ autonomic_admin_user }}" ADMIN_USER: "{{ autonomic_admin_user }}"
DB_TYPE: "mysql" DB_TYPE: "mysql"
DB_HOST: "127.0.0.1:3306" DB_HOST: "dokku-mariadb-keycloak:3306"
DB_NAME: "gitea" DB_NAME: "gitea"
DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89 DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89
DB_PASSWD: "{{ db_passwd }}" DB_PASSWD: "{{ db_passwd }}"