mirror of
https://github.com/valitydev/url-shortener.git
synced 2024-11-06 01:55:19 +00:00
8e89bdf915
Bump other deps as well while switching to public endpoints in the meantime. * Bump to rbkmoney/woody_erlang@d106ef66 * Bump to rbkmoney/machinegun_proto@d814d694 * Bump to rbkmoney/machinegun@b366973c image in tests * Bump to rbkmoney/cowboy_access_log@c058ad42 * Bump to rbkmoney/logger_logstash_formatter@01352571 * Bump to rbkmoney/woody_erlang_user_identity@d6d8c570 * Bump to rbkmoney/scoper@23b1625b
30 lines
698 B
Bash
Executable File
30 lines
698 B
Bash
Executable File
#!/bin/bash
|
|
cat <<EOF
|
|
version: '2.1'
|
|
services:
|
|
|
|
${SERVICE_NAME}:
|
|
image: ${BUILD_IMAGE}
|
|
volumes:
|
|
- .:$PWD
|
|
- $HOME/.cache:/home/$UNAME/.cache
|
|
working_dir: $PWD
|
|
command: /sbin/init
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
|
|
machinegun:
|
|
image: dr2.rbkmoney.com/rbkmoney/machinegun:b366973cec80a4d326840660405e50a3cac6cded
|
|
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
|
|
timeout: 1s
|
|
retries: 12
|
|
|
|
EOF
|