-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
48 lines (46 loc) · 1.13 KB
/
docker-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
version: '3'
services:
verbecc:
extends:
file: common-services.yml
service: verbecc
api:
extends:
file: common-services.yml
service: api
volumes:
- ./apps/api:/app/apps/api
- ./apps/api/node_modules:/app/apps/api/node_modules
- /app/node_modules
- /app/
build:
context: .
dockerfile: ./apps/api/Dockerfile.dev
environment:
- VERBECC_API=http://localhost:8000
- TRPC_PORT=8080
client:
extends:
file: common-services.yml
service: client
build:
context: .
dockerfile: ./apps/client/Dockerfile.dev
environment:
- VERBECC_API=http://localhost:8000
- NODE_ENV=development
- NEXT_PUBLIC_TRPC_API=http://localhost:8080
volumes:
- ./:/app
- ./apps/client/node_modules:/app/apps/client/node_modules
- /app/node_modules
- /app/.next
reverse-proxy:
extends:
file: common-services.yml
service: reverse-proxy
# Define a network, which allows containers to communicate
# with each other, by using their container name as a hostname
networks:
app_network:
external: true