-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
42 lines (41 loc) · 933 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
services:
gui:
platform: linux/amd64
build: gui
environment:
- SMALRUBY3_HOST=0.0.0.0
- PORT=8601
- NODE_ENV
- DEBUG
working_dir: /app/gui/smalruby3-gui
command: npm start
volumes:
- type: bind
source: .
target: /app
- type: volume
source: root_npm
target: /root/.npm
- type: volume
source: scratch-vm_node_modules
target: /app/gui/scratch-vm/node_modules
- type: volume
source: smalruby3-gui_node_modules
target: /app/gui/smalruby3-gui/node_modules
ports:
- 0.0.0.0:8601:8601
lib:
platform: linux/amd64
build: lib
working_dir: /app/lib/smalruby3
command: /app/lib/entrypoint.sh
volumes:
- type: bind
source: .
target: /app
ports:
- 0.0.0.0:15900:5900
volumes:
root_npm:
scratch-vm_node_modules:
smalruby3-gui_node_modules: