forked from inflector/singnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
102 lines (91 loc) · 2.29 KB
/
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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3"
services:
alice:
build: agent
environment:
- SN_AGENT_ID=b545478a-971a-48ec-bc56-4b9b7176799c
- SN_NETWORK_WEB_PORT=9050
- SN_SERVICE_ADAPTER_CONFIG_FILE=alice_config.yml
- PYTHONPATH=/code
- SN_DS_TEST_OUTPUT_DIRECTORY=/data
ports:
- "9050:9050"
volumes:
- ./agent-data:/data
links:
- testrpc
# - bob
- relex
bob:
build: agent
environment:
- SN_AGENT_ID=c545478a-971a-48ec-bc56-aaaaaaaaaaaa
- SN_NETWORK_WEB_PORT=9060
- SN_SERVICE_ADAPTER_CONFIG_FILE=bob_config.yml
- PYTHONPATH=/code
ports:
- "9060:9060"
volumes:
- ./agent-data:/data
charlie:
build: agent
environment:
- SN_AGENT_ID=b545478a-971a-cccc-bc56-bbbbbbbbbbbb
- SN_NETWORK_WEB_PORT=9065
- SN_SERVICE_ADAPTER_CONFIG_FILE=charlie_config.yml
- PYTHONPATH=/code
- SN_DS_TEST_OUTPUT_DIRECTORY=/data
ports:
- "9065:9065"
volumes:
- ./agent-data:/data
bob:
build: agent
environment:
- SN_AGENT_ID=c545478a-971a-48ec-bc56-aaaaaaaaaaaa
- SN_NETWORK_WEB_PORT=9060
- SN_SERVICE_ADAPTER_CONFIG_FILE=bob_config.yml
- PYTHONPATH=/code
ports:
- "9060:9060"
volumes:
- ./agent-data:/data
test:
build: agent
environment:
- SN_AGENT_ID=b545478a-971a-48ec-bc56-4b9b7176799c
- SN_NETWORK_WEB_PORT=9070
- SN_SERVICE_ADAPTER_CONFIG_FILE=test_config.yml
- PYTHONPATH=/code
- SN_DS_TEST_OUTPUT_DIRECTORY=/data
ports:
- "9070:9070"
volumes:
- ./agent-data:/data
links:
- testrpc
agent-web:
build: agent-web
ports:
- "9080:9080"
environment:
- SN_WEB_COOKIE_SECRET=kubr6DvIuYj4GREdgXq5CCoL5qHQWglj8IECTsI79mY=
- PYTHONPATH=/code
dao:
build: dao
volumes:
- ./dao:/dao
links:
- testrpc
testrpc:
build: testrpc
ports:
- "8545:8545"
- "8546:8546"
- "30303:30303"
command: testrpc
relex:
image: opencog/relex
ports:
- "9000:9000"
command: bash -l -c ./link-grammar-server.sh 9000