-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 790 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 790 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
39
40
41
42
43
44
45
46
version: '3.7'
services:
fleet:
container_name: nestjs_api_dev
image: fleetomatic:0.0.1
build:
context: .
target: development
command: npm run start:debug
#command: npm run test:watch
ports:
- 3000:3000
- 9229:9229
networks:
- nestjs-network
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
restart: unless-stopped
env_file: .env
depends_on:
- postgres
postgres:
image: postgres
restart: always
ports:
- 5432:5432
networks:
- nestjs-network
volumes:
- pgdata:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080
networks:
- nestjs-network
networks:
nestjs-network:
volumes:
pgdata: