-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 1.01 KB
/
docker-compose.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
services:
app:
build:
context: .
dockerfile: docker/app/Dockerfile
ports:
- 8000:8000
volumes:
- ./var/log:/var/log/telecoop-common
- ./src:/usr/local/telecoop-common
- ./conf:/etc/telecoop-common
environment:
- ENV=DOCKER
nats:
image: nats:2.10
ports:
- 8222:8222
- 4222:4222
postgres-logs:
image: postgres:13
ports:
- 5439:5432
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_USER=logs
- POSTGRES_DB=logs
volumes:
- ./docker/postgres-logs/initdb:/docker-entrypoint-initdb.d
testDb:
image: postgres:13
ports:
- 5439:5432
environment:
- POSTGRES_USER=common
- POSTGRES_DB=common
- POSTGRES_PASSWORD=common
volumes:
- ./docker/postgres/initdb:/docker-entrypoint-initdb.d