diff options
author | yuyang <Gabriel.yuyang@huawei.com> | 2017-04-20 15:05:58 +0800 |
---|---|---|
committer | yuyang <Gabriel.yuyang@huawei.com> | 2017-04-20 15:05:58 +0800 |
commit | c988d5fa114a659f19f0db1fd0db9f6abc5247dd (patch) | |
tree | 1275cda066b2995024a913ec78de49bba907fd06 /docker | |
parent | fc30c5208a680d0059cfa48891a1d97747f7f778 (diff) |
Bugfix of docker-compose file for privileged
JIRA: BOTTLENECK-163
privileged option in docker-compose file should be true to avoid
"permission deny" error when accessing directories
Change-Id: I1a57146236efb5fe71405c5b7682af706a8814bf
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/bottleneck-compose/docker-compose.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/bottleneck-compose/docker-compose.yml b/docker/bottleneck-compose/docker-compose.yml index 7745f41f..98d12976 100644 --- a/docker/bottleneck-compose/docker-compose.yml +++ b/docker/bottleneck-compose/docker-compose.yml @@ -1,6 +1,7 @@ elasticsearch: image: elasticsearch:2.4.0 command: elasticsearch -Des.network.host=0.0.0.0 + privileged: true ports: - "9200:9200" - "9300:9300" @@ -9,6 +10,7 @@ kibana: build: kibana/ volumes: - ./kibana/config/:/opt/kibana/config/ + privileged: true ports: - "5601:5601" links: @@ -33,6 +35,7 @@ bottlenecks: volumes: - /var/run/docker.sock:/var/run/docker.sock - /tmp/:/tmp/ + privileged: true environment: - INSTALLER_IP=192.168.200.2 - INSTALLER_TYPE=compass |