commit | 9e76098991af7b326e30effb9500b38ca1b96e4c | [log] [tgz] |
---|---|---|
author | Pavel Cizinsky <pcizinsky@mirantis.com> | Fri Oct 26 15:06:16 2018 +0200 |
committer | Pavel Cizinsky <pcizinsky@mirantis.com> | Fri Oct 26 15:06:16 2018 +0200 |
tree | 13cf5c787168327d949092d8388fd10992c7357c | |
parent | 54b95eb613a6e63e85b4a3ccba4f74b127ace9b5 [diff] [blame] |
change init container for cockroach Change-Id: I847a40f5b0c57137514ae6ac3d5f1b8c29ea1cda
diff --git a/docker/swarm/stack/operations_api.yml b/docker/swarm/stack/operations_api.yml index fff4f18..8d7aef7 100644 --- a/docker/swarm/stack/operations_api.yml +++ b/docker/swarm/stack/operations_api.yml
@@ -58,7 +58,9 @@ cockroach-init: environment: COCKROACH_HOST: cockroach-ui - image: atengler/cockroach + DB_NAME: oapi + DB_USER: oapi + image: atengler/cockroach-init deploy: restart_policy: condition: on-failure