-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
45 lines (43 loc) · 907 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
version: '3.5'
services:
api:
build:
context: .
dockerfile: Dockerfile
args:
PACKAGE_PATH: packages/healthvet-server
WORKING_DIR: /usr/src/
expose:
- 4000
ports:
- 4000:4000
environment:
- NODE_ENV=development
env_file:
- ./common.env
volumes:
- ./packages/healthvet-server:/usr/src
command: ['yarn', 'start:docker']
frontend:
build:
context: .
dockerfile: Dockerfile
args:
PACKAGE_PATH: packages/healthvet-front
WORKING_DIR: /usr/src/
expose:
- 3000
ports:
- 3000:3000
environment:
- REACT_APP_ENV=development
- BACKEND=api:4000
- HTTPS=true
- NODE_PATH=/usr/src/
env_file:
- ./common.env
volumes:
- ./packages/healthvet-front:/usr/src
depends_on:
- api
command: ['yarn', 'start:docker']