Use PostgreSQL as DataSource in Rundeck by default
Change-Id: Ia92e93502c9564b1a91869292891f9b29a773701
diff --git a/rundeck/server/docker.yml b/rundeck/server/docker.yml
index 3406b6a..1c89f4f 100644
--- a/rundeck/server/docker.yml
+++ b/rundeck/server/docker.yml
@@ -2,6 +2,12 @@
- service.rundeck.common
- service.rundeck.server.single
parameters:
+ _param:
+ rundeck_postgresql_username: rundeck
+ rundeck_postgresql_password: password
+ rundeck_postgresql_database: rundeck
+ rundeck_postgresql_host: ${_param:control_vip_address}
+ rundeck_postgresql_port: 5432
rundeck:
server:
user:
@@ -9,6 +15,13 @@
gid: 550
home_dir: /srv/volumes/rundeck
root_dir: /srv/volumes/rundeck
+ datasource:
+ engine: postgresql
+ host: ${_param:rundeck_postgresql_host}
+ port: ${_param:rundeck_postgresql_port}
+ username: ${_param:rundeck_postgresql_username}
+ password: ${_param:rundeck_postgresql_password}
+ database: ${_param:rundeck_postgresql_database}
api:
host: ${_param:haproxy_rundeck_bind_host}
port: ${_param:haproxy_rundeck_bind_port}