mirror of
https://github.com/valitydev/dominant-v2.git
synced 2024-11-05 16:25:24 +00:00
3d016875de
* Introduce CI and fix everything that is needed for it * Update damsel * Update epg_connector * Update workflow version * Fix release * Fix test * Fix release * Fix * Fix 2
37 lines
758 B
YAML
37 lines
758 B
YAML
services:
|
|
testrunner:
|
|
image: $DEV_IMAGE_TAG
|
|
environment:
|
|
WORK_DIR: $PWD
|
|
POSTGRES_HOST: db
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: dmt
|
|
build:
|
|
dockerfile: Dockerfile.dev
|
|
context: .
|
|
args:
|
|
OTP_VERSION: $OTP_VERSION
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
|
volumes:
|
|
- .:$PWD
|
|
hostname: dmt
|
|
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
|