-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (58 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
59 lines (58 loc) · 1.28 KB
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
services:
gui:
build: gui
environment:
- SMALRUBY3_HOST=0.0.0.0
- PORT=8601
- NODE_ENV
- DEBUG
- GOOGLE_CLIENT_ID
- GOOGLE_API_KEY
- MESH_GRAPHQL_ENDPOINT
- MESH_API_KEY
- MESH_AWS_REGION
- MESH_DATA_UPDATE_INTERVAL_MS
- MESH_EVENT_BATCH_INTERVAL_MS
working_dir: /app/gui/smalruby3-editor/packages/scratch-gui
shm_size: '4gb'
command: npm start
volumes:
- type: bind
source: .
target: /app
- type: volume
source: root_npm
target: /root/.npm
- type: volume
source: root_cache
target: /root/.cache
- type: volume
source: smalruby3-editor_node_modules
target: /app/gui/smalruby3-editor/node_modules
ports:
- 0.0.0.0:8601:8601
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "3"
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
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
root_npm:
root_cache:
smalruby3-editor_node_modules: