-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (69 loc) · 1.31 KB
/
docker-compose.yml
File metadata and controls
69 lines (69 loc) · 1.31 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
version: '3.8'
services:
node:
image: dynamo-node:v1.1
container_name: dynamo-node
build:
dockerfile: Dockerfile
context: ./node
deploy:
resources:
limits:
memory: 2G
ports:
- '6432:6432'
- '6433:6433'
environment:
- NODE_HOST=node
- NODE_RPCPORT=6432
- NODE_SRVPORT=6433
volumes:
- /var/tmp/dynamo/:/root/.dynamo/
bridge:
image: dynamo-bridge:v1.0
container_name: dynamo-bridge
restart: always
build:
dockerfile: Dockerfile
context: ./bridge
deploy:
resources:
limits:
memory: 6G
environment:
- NODE_HOST=node
- NODE_RPCPORT=6432
depends_on:
- node
web:
image: dynamo-web:v1.0
container_name: dynamo-web
restart: always
build:
dockerfile: Dockerfile
context: ./web
deploy:
resources:
limits:
memory: 2G
ports:
- '80:80'
environment:
- BRIDGE_HOST=bridge
- NODE_HOST=node
- NODE_RPCPORT=6432
- NODE_SRVPORT=6433
depends_on:
- bridge
- php
php:
image: dynamo-php:v1.0
container_name: dynamo-php
restart: always
build:
dockerfile: Dockerfile
context: ./php
deploy:
resources:
limits:
memory: 2G