-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
57 lines (53 loc) · 1.18 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3'
services:
database:
image: postgres:14
container_name: database
env_file:
- .env.dev
ports:
- "5432:5432"
api:
build:
dockerfile: Dockerfile
context: ../data-access-api
container_name: api
env_file:
- .env.dev
depends_on:
- database
volumes:
- "../data-access-api:/code"
ports:
- "5000:5000"
mock_clamav:
container_name: mock-clamav
build:
context: ./mock_clamav
dockerfile: Dockerfile
ports:
- "8080:8080"
volumes:
- ./mock_clamav:/code
node:
build: .
container_name: node
command: sh -c 'sleep 5 && npm install nodemon && npm run dev'
ports:
- "3000:3000"
- "9229:9229"
- "9230:9230"
env_file:
- .env.dev
depends_on:
- api
- database
volumes:
- ./src/app:/public-site/app
- ./src/common:/public-site/common
- ./src/locales:/public-site/locales
- ./src/public:/public-site/public
- ./src/test:/public-site/test
- ./src/server.js:/public-site/server.js
- ./src/start.js:/public-site/start.js
- ./src/package.json:/public-site/package.json