mirror of
https://github.com/valitydev/hellgate.git
synced 2024-11-06 19:05:16 +00:00
1ae0c4b1f3
* HG-354: add contractors and wallets in party (#205) * switch to epic damsel rbkmoney/damsel@3af8098 * add support for wallet blocking & suspension * contractor modification support * wallet modification support * fix account creation side effects * add minimal tests * add wallet blocking & suspension tests * add simple checks for contractor & wallet * new checks & exceptions for wallets & contractors * add marchaling for old events * add catch-all clause to claim effect marshaling (#222) * HG-379: add wallet service terms support (#223) * HG-379: add wallet service terms support * maybe * replace `shop` with `shop_id` in varset * check wallets terms for currencies instead of payment terms * fix tests * make identification level for legacy contracts more correct * Bump to rbkmoney/damsel@3549c635 * Switch to master rbkmoney/damsel@36907b0e * Switch to master rbkmoney/dominant@4e296b03 * Attempt to easily fix test failures * Attempt to fix test failures
72 lines
1.8 KiB
Bash
Executable File
72 lines
1.8 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:
|
|
machinegun:
|
|
condition: service_healthy
|
|
shumway:
|
|
condition: service_healthy
|
|
|
|
dominant:
|
|
image: dr.rbkmoney.com/rbkmoney/dominant:8432bd3b0b9137d4703402e26275ec991727dc19
|
|
command: /opt/dominant/bin/dominant foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
|
|
sequences:
|
|
image: dr.rbkmoney.com/rbkmoney/sequences:727c81115f861dc3d9b80c0e06e64d27728d447f
|
|
command: /opt/sequences/bin/sequences foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
|
|
machinegun:
|
|
image: dr.rbkmoney.com/rbkmoney/machinegun:1844dff663c24acdcd32f30ae3ea208f5d05a008
|
|
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: 20
|
|
|
|
shumway:
|
|
image: dr.rbkmoney.com/rbkmoney/shumway:7a5f95ee1e8baa42fdee9c08cc0ae96cd7187d55
|
|
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: dr.rbkmoney.com/rbkmoney/postgres:9.6
|
|
environment:
|
|
- POSTGRES_DB=shumway
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- SERVICE_NAME=shumway-db
|
|
EOF
|
|
|