-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
38 lines (37 loc) · 879 Bytes
/
compose.yaml
File metadata and controls
38 lines (37 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
testrunner:
image: $DEV_IMAGE_TAG
environment:
WORK_DIR: $PWD
POSTGRES_HOST: cs_db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: customer_storage
build:
dockerfile: Dockerfile.dev
context: .
args:
OTP_VERSION: $OTP_VERSION
THRIFT_VERSION: $THRIFT_VERSION
ELP_VERSION: $ELP_VERSION
ELP_OTP_VERSION: $ELP_OTP_VERSION
volumes:
- .:$PWD
hostname: cs.default
depends_on:
cs_db:
condition: service_healthy
working_dir: $PWD
cs_db:
image: postgres:17
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: customer_storage
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5