aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/database/mongodb.yaml
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2017-05-24 23:54:55 +0000
committerSteve Baker <sbaker@redhat.com>2017-06-12 09:18:09 +1200
commit9e759c971d993e2f9034ec6068dd0ddf1faf2740 (patch)
tree806e7a2f21d006ce467e9dcb5668ea7ff170dcfc /docker/services/database/mongodb.yaml
parenteab0cd441ccce9521edea43fbc657bac18d06970 (diff)
Don't mount all of config-data /etc, /etc/httpd
This change modifies these mounts to be more specific mounts based on the files which puppet actually modifies. The result is something a bit more self-documenting, and allows for trying other techniques for populating /etc other than directly mounting config-data directories. Change-Id: Ied1eab99d43afcd34c00af25b7e36e7e55ff88e6
Diffstat (limited to 'docker/services/database/mongodb.yaml')
-rw-r--r--docker/services/database/mongodb.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/services/database/mongodb.yaml b/docker/services/database/mongodb.yaml
index 96a02f9f..5d0eb79d 100644
--- a/docker/services/database/mongodb.yaml
+++ b/docker/services/database/mongodb.yaml
@@ -87,7 +87,8 @@ outputs:
privileged: false
volumes: &mongodb_volumes
- /var/lib/kolla/config_files/mongodb.json:/var/lib/kolla/config_files/config.json
- - /var/lib/config-data/mongodb/etc/:/etc/:ro
+ - /var/lib/config-data/mongodb/etc/mongod.conf:/etc/mongod.conf:ro
+ - /var/lib/config-data/mongodb/etc/mongos.conf:/etc/mongos.conf:ro
- /etc/localtime:/etc/localtime:ro
- /var/log/containers/mongodb:/var/log/mongodb
- /var/lib/mongodb:/var/lib/mongodb