-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 990 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
version: '3'
services:
# functions server
functions:
container_name: functions
restart: always
ports:
- "5000:5000"
build:
context: ./
dockerfile: ./Dockerfile.dev
volumes:
- .:/server
networks:
- backend
# react UI/frontend
client:
container_name: client
restart: always
ports:
- "3000:3000"
build:
context: ./web
dockerfile: ./Dockerfile.dev
volumes:
- ./web/public:/client/public/
- ./web/pages:/client/pages/
- ./web/components:/client/components/
- ./web/styles:/client/styles/
- ./web/utils:/client/utils/
- ./web/data:/client/data
depends_on:
- "functions"
environment:
- NODE_ENV=development
networks:
- backend
networks:
backend:
driver: bridge