mirror of
https://github.com/valitydev/fistful-server.git
synced 2024-11-06 02:35:18 +00:00
32cc17e061
* added base ci cd files
* removed cds, kds, identdocstore, improved make, added compose
* fixed format
* fixed dialyzer
* added compose run
* changed to project_plugins
* fixed prometheus
* fixed lock
* fixed format
* removed deps
* added test fixes
* fixed lint
* fixed and removed old cfg
* removed unused app
* added requested changes
* fixed yamllint
* fixed
* removed expose
* updated party healthcheck
* updated compose
* removed version
* mb port?
* Revert "mb port?"
This reverts commit bf42f1c536
.
* fixed
99 lines
2.6 KiB
YAML
99 lines
2.6 KiB
YAML
services:
|
|
|
|
testrunner:
|
|
image: $DEV_IMAGE_TAG
|
|
build:
|
|
dockerfile: Dockerfile.dev
|
|
context: .
|
|
args:
|
|
OTP_VERSION: $OTP_VERSION
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
|
volumes:
|
|
- .:$PWD
|
|
hostname: fistful-server
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
dominant:
|
|
condition: service_healthy
|
|
party-management:
|
|
condition: service_healthy
|
|
shumway:
|
|
condition: service_healthy
|
|
working_dir: $PWD
|
|
command: /sbin/init
|
|
|
|
dominant:
|
|
image: ghcr.io/valitydev/dominant:sha-0b47590
|
|
command: /opt/dominant/bin/dominant foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: "/opt/dominant/bin/dominant ping"
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
machinegun:
|
|
image: docker.io/rbkmoney/machinegun:c05a8c18cd4f7966d70b6ad84cac9429cdfe37ae
|
|
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: 20
|
|
|
|
shumway:
|
|
image: docker.io/rbkmoney/shumway:44eb989065b27be619acd16b12ebdb2288b46c36
|
|
restart: unless-stopped
|
|
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
|
|
- --management.metrics.export.statsd.enabled=false
|
|
depends_on:
|
|
shumway-db:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: "curl http://localhost:8023/actuator/health"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 20
|
|
|
|
party-management:
|
|
image: ghcr.io/valitydev/party-management:sha-e456e24
|
|
command: /opt/party-management/bin/party-management foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
dominant:
|
|
condition: service_started
|
|
shumway:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: "/opt/party-management/bin/party-management ping"
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
shumway-db:
|
|
image: docker.io/library/postgres:9.6
|
|
environment:
|
|
- POSTGRES_DB=shumway
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- SERVICE_NAME=shumway-db
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|