-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 814 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 814 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
version: "3"
services:
frontend:
container_name: vis_frontend
hostname: vis_frontend
build:
context: ./frontend
command: [ "npm", "run", "start" ]
volumes:
- ./frontend:/vis/frontend
- /vis/frontend/node_modules
working_dir: /vis/frontend
ports:
- "3000:3000"
networks:
visnet:
ipv4_address: 175.0.0.3
backend:
container_name: vis_backend
hostname: vis_backend
build:
context: ./backend
command: [ "npm", "run", "start" ]
volumes:
- ./backend:/vis/backend
- /vis/backend/node_modules
working_dir: /vis/backend
ports:
- "3001:3001"
networks:
visnet:
ipv4_address: 175.0.0.4
networks:
visnet:
driver: bridge
ipam:
config:
- subnet: 175.0.0.0/16