From a62a3eeb6759861f26f960c4fa65391d4b632a37 Mon Sep 17 00:00:00 2001 From: Sergei Shuvatov Date: Mon, 16 Dec 2019 19:57:26 +0300 Subject: [PATCH] Update machinegun (#402) --- docker-compose.sh | 3 ++- test/machinegun/config.yaml | 2 ++ test/machinegun/cookie | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 test/machinegun/cookie diff --git a/docker-compose.sh b/docker-compose.sh index ca85a0e..c400538 100755 --- a/docker-compose.sh +++ b/docker-compose.sh @@ -25,10 +25,11 @@ services: condition: service_healthy machinegun: - image: dr2.rbkmoney.com/rbkmoney/machinegun:aec434f47029dbd81762e10de04c9422e3c93e5e + image: dr2.rbkmoney.com/rbkmoney/machinegun:4986e50e2abcedbf589aaf8cce89c2b420589f04 command: /opt/machinegun/bin/machinegun foreground volumes: - ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml + - ./test/machinegun/cookie:/opt/machinegun/etc/cookie healthcheck: test: "curl http://localhost:8022/" interval: 5s diff --git a/test/machinegun/config.yaml b/test/machinegun/config.yaml index d844d20..7c3fbd8 100644 --- a/test/machinegun/config.yaml +++ b/test/machinegun/config.yaml @@ -1,4 +1,6 @@ service_name: machinegun +erlang: + secret_cookie_file: "/opt/machinegun/etc/cookie" namespaces: invoice: event_sinks: diff --git a/test/machinegun/cookie b/test/machinegun/cookie new file mode 100644 index 0000000..30d74d2 --- /dev/null +++ b/test/machinegun/cookie @@ -0,0 +1 @@ +test \ No newline at end of file