summaryrefslogtreecommitdiffstats
path: root/docker/services/aodh-api.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-05-30 13:52:28 +0000
committerGerrit Code Review <review@openstack.org>2017-05-30 13:52:28 +0000
commit5f374b863d66256d222c638a927c8455a9d10fc8 (patch)
tree68c654312d03d29352c0a8c2420e160bed40ebbd /docker/services/aodh-api.yaml
parent847a1fe79333f3eb18672a88a5212cbd395b94bf (diff)
parent51da97d04a2cbc81ad4b56a8a91c6dd43d5afe81 (diff)
Merge "docker bootstrap service commands"
Diffstat (limited to 'docker/services/aodh-api.yaml')
-rw-r--r--docker/services/aodh-api.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/services/aodh-api.yaml b/docker/services/aodh-api.yaml
index 8a02d8fd..f802e4e6 100644
--- a/docker/services/aodh-api.yaml
+++ b/docker/services/aodh-api.yaml
@@ -100,13 +100,14 @@ outputs:
net: host
privileged: false
detach: false
+ user: root
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
-
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
- /var/log/containers/aodh:/var/log/aodh
- command: /usr/bin/aodh-dbsync
+ command: "/usr/bin/bootstrap_host_exec aodh_api su aodh -s /bin/bash -c /usr/bin/aodh-dbsync"
step_4:
aodh_api:
image: *aodh_image