-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 933 Bytes
/
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
42
43
44
45
46
47
48
49
50
51
52
53
version: "3"
services:
nest-api:
container_name: nest-api
build:
context: .
ports:
- ${PORT}:${PORT}
env_file:
- .env
networks:
- nestjs-order-management
depends_on:
- postgres
- redis
postgres:
container_name: postgres
image: postgres:9.5
ports:
- "5432:5432"
volumes:
- ./data/postgres:/data/postgres
env_file:
- docker.env
networks:
- nestjs-order-management
pgadmin:
links:
- postgres:postgres
container_name: pgadmin
image: dpage/pgadmin4:4.26
ports:
- "8080:80"
volumes:
- ./data/pgadmin:/root/.pgadmin
env_file:
- docker.env
networks:
- nestjs-order-management
redis:
container_name: redis
image: redis:6.0
ports:
- "6379:6379"
networks:
- nestjs-order-management
networks:
nestjs-order-management:
driver: bridge