mirror of
https://github.com/valitydev/dominant-v2.git
synced 2024-11-06 00:35:21 +00:00
604d1b5b78
* IMP-284: Implement new DB schema * WIP * WIP * SQL Request for commiting * Implement RepositoryClient and UserOpManagement * Raw integration tests * WIP Testing * WIP Testing * Tests WIP * Insert objects rebuild * Remade sql requests and make test work * Extra tests * Extra tests * Update/Delete work * Rename everything from dmt_v2 to dmt
38 lines
769 B
YAML
38 lines
769 B
YAML
services:
|
|
|
|
testrunner:
|
|
image: $DEV_IMAGE_TAG
|
|
environment:
|
|
WORK_DIR: $PWD
|
|
POSTGRES_HOST: db
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: dmtv2
|
|
build:
|
|
dockerfile: Dockerfile.dev
|
|
context: .
|
|
args:
|
|
OTP_VERSION: $OTP_VERSION
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
|
volumes:
|
|
- .:$PWD
|
|
hostname: dominant-v2
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
working_dir: $PWD
|
|
|
|
db:
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: dmt
|
|
ports:
|
|
- 5432:5432
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|