-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.dev.yml
62 lines (59 loc) · 1.24 KB
/
compose.dev.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
58
59
60
61
62
services:
frontend:
depends_on:
- backend
build:
context: .
dockerfile: Dockerfile-dev
image: humandbs-dev
container_name: humandbs-frontend-dev
volumes:
- ${PWD}:/app
- node_modules:/app/node_modules
environment:
- HUMANDBS_FRONTEND_HOST=0.0.0.0
- HUMANDBS_FRONTEND_PORT=3000
- HUSKY=0
ports:
- 127.0.0.1:3000:3000
restart: always
working_dir: /app
command: ["sleep", "infinity"]
networks:
- humandbs-dev-network
init: true
ulimits:
memlock:
soft: -1
hard: -1
backend:
build:
context: .
dockerfile: Dockerfile-dev
image: humandbs-dev
container_name: humandbs-backend-dev
volumes:
- ${PWD}:/app
- node_modules:/app/node_modules
environment:
- HUMANDBS_FRONTEND_HOST=0.0.0.0
- HUMANDBS_FRONTEND_PORT=8080
- HUSKY=0
ports:
- 127.0.0.1:8080:8080
restart: always
working_dir: /app
command: ["sleep", "infinity"]
networks:
- humandbs-dev-network
init: true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
node_modules: {}
networks:
humandbs-dev-network:
name: humandbs-dev-network
external: true