mirror of
https://github.com/valitydev/party-client-erlang.git
synced 2024-11-06 10:45:23 +00:00
6b5765cb4f
* HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset * HG-452: Update build_utils * HG-452: Update woody * HG-452: Change nonParallel build
82 lines
2.1 KiB
Bash
Executable File
82 lines
2.1 KiB
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:
|
|
hellgate:
|
|
condition: service_healthy
|
|
|
|
dominant:
|
|
image: dr2.rbkmoney.com/rbkmoney/dominant:1dbb330957077d3fbd93bd93d78d138634b0a2a7
|
|
command: /opt/dominant/bin/dominant foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 12
|
|
|
|
hellgate:
|
|
image: dr2.rbkmoney.com/rbkmoney/hellgate:8660b4d533a59e6bd394219991e3d1dd2bb2b54c
|
|
command: /opt/hellgate/bin/hellgate foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
dominant:
|
|
condition: service_healthy
|
|
shumway:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 12
|
|
|
|
machinegun:
|
|
image: dr2.rbkmoney.com/rbkmoney/machinegun:00aa3098226e103a1a3626b3edf63864b94c4036
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
volumes:
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 12
|
|
|
|
shumway:
|
|
image: dr2.rbkmoney.com/rbkmoney/shumway:058b2459317d1bff0922574e8e8240432c2444cd
|
|
restart: always
|
|
entrypoint:
|
|
- java
|
|
- -Xmx512m
|
|
- -jar
|
|
- /opt/shumway/shumway.jar
|
|
- --spring.datasource.url=jdbc:postgresql://shumway-db:5432/shumway
|
|
- --spring.datasource.username=postgres
|
|
- --spring.datasource.password=postgres
|
|
depends_on:
|
|
- shumway-db
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 20
|
|
|
|
shumway-db:
|
|
image: dr2.rbkmoney.com/rbkmoney/postgres:9.6
|
|
environment:
|
|
- POSTGRES_DB=shumway
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- SERVICE_NAME=shumway-db
|
|
EOF
|