forked from scratchfoundation/scratch-editor
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (86 loc) · 2.2 KB
/
docker-compose.yml
File metadata and controls
88 lines (86 loc) · 2.2 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
services:
app:
build: .
environment:
- SMALRUBY3_HOST=0.0.0.0
- PORT=8601
- NODE_ENV
- DEBUG
- GOOGLE_CLIENT_ID
- GOOGLE_API_KEY
- GTM_ID
- GTM_ENV_AUTH
- MESH_GRAPHQL_ENDPOINT
- MESH_API_KEY
- MESH_AWS_REGION
- MESH_DATA_UPDATE_INTERVAL_MS
- MESH_EVENT_BATCH_INTERVAL_MS
- MESH_NETWORK_FILTER
working_dir: /app
shm_size: '4gb'
command: npm start
volumes:
- type: bind
source: .
target: /app
- type: volume
source: smalruby3-editor_root_npm
target: /root/.npm
- type: volume
source: smalruby3-editor_root_cache
target: /root/.cache
- type: volume
source: smalruby3-editor_node_modules
target: /app/node_modules
ports:
- 0.0.0.0:8601:8601
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "3"
infra:
build:
context: .
dockerfile: infra/Dockerfile
working_dir: /app/infra/smalruby-mesh-v2
volumes:
- type: bind
source: .
target: /app
- type: volume
source: smalruby3-editor_infra_mesh_v2_node_modules
target: /app/infra/smalruby-mesh-v2/node_modules
- type: volume
source: smalruby3-editor_infra_bundle
target: /bundle
- type: bind
source: ${HOME}/.aws
target: /root/.aws
read_only: true
environment:
- BUNDLE_PATH=/bundle
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- AWS_DEFAULT_REGION
- CDK_DEFAULT_ACCOUNT
- CDK_DEFAULT_REGION
- STAGE
- APPSYNC_CUSTOM_DOMAIN
- APPSYNC_ENDPOINT
- APPSYNC_API_KEY
- MESH_SECRET_KEY
- MESH_HOST_HEARTBEAT_INTERVAL_SECONDS
- MESH_HOST_HEARTBEAT_TTL_SECONDS
- MESH_MEMBER_HEARTBEAT_INTERVAL_SECONDS
- MESH_MEMBER_HEARTBEAT_TTL_SECONDS
- MESH_MAX_CONNECTION_TIME_SECONDS
- MESH_EVENT_TTL_SECONDS
- MESH_POLLING_INTERVAL_SECONDS
volumes:
smalruby3-editor_root_npm:
smalruby3-editor_root_cache:
smalruby3-editor_node_modules:
smalruby3-editor_infra_mesh_v2_node_modules:
smalruby3-editor_infra_bundle: