Expand default vars to take care of mongodb
This commit is contained in:
parent
32ceaca084
commit
023465a5fa
@ -46,8 +46,16 @@
|
|||||||
dokku:
|
dokku:
|
||||||
{
|
{
|
||||||
app: "{{ app }}",
|
app: "{{ app }}",
|
||||||
|
|
||||||
mariadb_addr: "dokku-mariadb-{{ app }}",
|
mariadb_addr: "dokku-mariadb-{{ app }}",
|
||||||
|
mongodb_addr: "dokku-mongo-{{ app }}:27017",
|
||||||
|
|
||||||
mariadb_user: "mariadb",
|
mariadb_user: "mariadb",
|
||||||
|
mongodb_user: "{{ app }}",
|
||||||
|
|
||||||
|
mariadb_type: "mariadb",
|
||||||
|
mongodb_type: "mongodb",
|
||||||
|
|
||||||
hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}",
|
hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}",
|
||||||
host: "{{ inventory_hostname }}",
|
host: "{{ inventory_hostname }}",
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user