forked from tf-encrypted/tf-encrypted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
79 lines (74 loc) · 2.06 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
version: '3'
services:
server0:
image: tfencrypted/tf-encrypted:latest
ports:
- 4440:4440
environment:
TFE_NODE_NAME: server0
TFE_SERVER0_ADDRESS: 0.0.0.0:4440
TFE_SERVER1_ADDRESS: server1:4440
TFE_CRYPTO_PRODUCER_ADDRESS: producer:4440
TFE_WEIGHTS_PROVIDER_ADDRESS: provider:4440
TFE_MASTER_ADDRESS: master:4440
server1:
image: tfencrypted/tf-encrypted:latest
ports:
- 4441:4440
environment:
TFE_NODE_NAME: server1
TFE_SERVER0_ADDRESS: server0:4440
TFE_SERVER1_ADDRESS: 0.0.0.0:4440
TFE_CRYPTO_PRODUCER_ADDRESS: producer:4440
TFE_WEIGHTS_PROVIDER_ADDRESS: provider:4440
TFE_MASTER_ADDRESS: master:4440
producer:
image: tfencrypted/tf-encrypted:latest
ports:
- 4442:4440
environment:
TFE_NODE_NAME: crypto-producer
TFE_SERVER0_ADDRESS: server0:4440
TFE_SERVER1_ADDRESS: server1:4440
TFE_CRYPTO_PRODUCER_ADDRESS: 0.0.0.0:4440
TFE_WEIGHTS_PROVIDER_ADDRESS: provider:4440
TFE_MASTER_ADDRESS: master:4440
provider:
image: tfencrypted/tf-encrypted:latest
ports:
- 4443:4440
environment:
TFE_NODE_NAME: weights-provider
TFE_SERVER0_ADDRESS: server0:4440
TFE_SERVER1_ADDRESS: server1:4440
TFE_CRYPTO_PRODUCER_ADDRESS: producer:4440
TFE_WEIGHTS_PROVIDER_ADDRESS: 0.0.0.0:4440
TFE_MASTER_ADDRESS: master:4440
master:
image: tfencrypted/tf-encrypted:latest
ports:
- 4444:4440
- 5000:5000
- 8080:8080
environment:
TFE_NODE_NAME: master
TFE_SERVER0_ADDRESS: server0:4440
TFE_SERVER1_ADDRESS: server1:4440
TFE_CRYPTO_PRODUCER_ADDRESS: producer:4440
TFE_WEIGHTS_PROVIDER_ADDRESS: provider:4440
TFE_MASTER_ADDRESS: 0.0.0.0:4440
TFE_API_PORT: 8080
TFE_MONITOR_STATS: null
depends_on:
- server0
- server1
- producer
- provider
entrypoint:
- "python"
- "-u"
- "bin/serve"
- "--model_name"
- "2lfc"
# volumes:
# - /tmp/tensorboard:/tmp/tensorboard