-
Notifications
You must be signed in to change notification settings - Fork 88
/
docker-compose.test.yml
45 lines (45 loc) · 944 Bytes
/
docker-compose.test.yml
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
39
40
41
42
43
44
45
version: '2'
services:
db_homs:
image: postgres:15.4-alpine
hostname: postgres-homs
container_name: postgres-homs
env_file:
- ".env"
environment:
PGDATA: $HOMS_DB_PATH
POSTGRES_DB: $HOMS_DB_NAME
POSTGRES_USER: $HOMS_DB_USER
POSTGRES_PASSWORD: $HOMS_DB_PASSWORD
TZ: UTC
ports:
- $HOMS_DB_PORT:5432
networks:
- custom_network
homs:
image: latera/homs_testing
container_name: homs_testing
env_file:
- ".env"
links:
- db_homs:$HOMS_DB_HOST
environment:
GENERATE_DOC: $GENERATE_DOC
SIMPLE_COV_ENABLED: $SIMPLE_COV_ENABLED
SEED_DB: $HOMS_DB_SEED
depends_on:
- db_homs
- redis
ports:
- $HOMS_PORT:3000
networks:
- custom_network
redis:
image: redis
container_name: redis
hostname: redis
networks:
- custom_network
networks:
custom_network:
driver: bridge