-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathdocker-compose.yaml
44 lines (41 loc) · 1.06 KB
/
docker-compose.yaml
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
version: '3.8'
services:
base:
build:
context: .
dockerfile: Dockerfile.base
image: grapesjs-base:latest
react18:
build:
context: .
dockerfile: Dockerfile.react18
ports:
- '5173:5173'
healthcheck:
test: ['CMD', 'wget', '--spider', 'http://localhost:5173']
interval: 5s
timeout: 5s
retries: 10
environment:
- VITE_DEV_SERVER_HOST=0.0.0.0
- VITE_DEV_SERVER_PORT=5173
volumes:
- ./packages/grapesjs-react-app-18:/app/packages/grapesjs-react-app-18
- /app/packages/grapesjs-react-app-18/node_modules
react19:
build:
context: .
dockerfile: Dockerfile.react19
ports:
- '5173:5173'
healthcheck:
test: ['CMD', 'wget', '--spider', 'http://localhost:5173']
interval: 5s
timeout: 5s
retries: 10
environment:
- VITE_DEV_SERVER_HOST=0.0.0.0
- VITE_DEV_SERVER_PORT=5173
volumes:
- ./packages/grapesjs-react-app-19:/app/packages/grapesjs-react-app-19
- /app/packages/grapesjs-react-app-19/node_modules