This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
executable file
·118 lines (113 loc) · 2.53 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: '3.4'
services:
oef-node:
image: "fetchai/oef-search:0.7"
ports:
- "10000:10000"
- "20000:20000"
- "40000:40000"
- "7500:7500"
networks:
main_net:
ipv4_address: 172.28.1.1
# logging:
# driver: none
volumes:
- "../scripts/oef/:/config"
- "../data/oef-logs:/logs/"
command:
- "/config/node_config.json"
healthcheck:
interval: 10s
retries: 5
test:
- "CMD-SHELL"
- "python3"
- "oef_healthcheck.py"
- "127.0.0.1"
- "10000"
timeout: 5s
restart: on-failure
visdom:
image: "hypnosapos/visdom:latest"
ports:
- "8097:8097"
logging:
driver: none
networks:
main_net:
ipv4_address: 172.28.1.2
baseline:
image: "baseline-image"
env_file:
- .env
depends_on:
- oef-node
- visdom
build:
context: ../
dockerfile: docker-tac-develop/Dockerfile
networks:
main_net:
ipv4_address: 172.28.1.3
entrypoint:
- "sandbox/wait-for-oef.sh"
- "172.28.1.1"
- "10000"
- "python3"
- "simulation/v1/tac_agent_spawner.py"
- "--nb-agents"
- "${NB_AGENTS}"
- "--nb-goods"
- "${NB_GOODS}"
- "--nb-baseline-agents"
- "${NB_BASELINE_AGENTS}"
- "--oef-addr"
- "${OEF_ADDR}"
- "--oef-port"
- "${OEF_PORT}"
- "--data-output-dir"
- "${DATA_OUTPUT_DIR}"
- "--version-id"
- "${VERSION_ID}"
- "--lower-bound-factor"
- "${LOWER_BOUND_FACTOR}"
- "--upper-bound-factor"
- "${UPPER_BOUND_FACTOR}"
- "--tx-fee"
- "${TX_FEE}"
- "--registration-timeout"
- "${REGISTRATION_TIMEOUT}"
- "--inactivity-timeout"
- "${INACTIVITY_TIMEOUT}"
- "--competition-timeout"
- "${COMPETITION_TIMEOUT}"
- "--services-interval"
- "${SERVICES_INTERVAL}"
- "--pending-transaction-timeout"
- "${PENDING_TRANSACTION_TIMEOUT}"
- "--register-as"
- "${REGISTER_AS}"
- "--search-for"
- "${SEARCH_FOR}"
- "--dashboard"
- "--visdom-addr"
- "172.28.1.2"
- "--visdom-port"
- "8097"
- "--seed"
- "${SEED}"
- "--whitelist-file"
- "${WHITELIST}"
- "--version-id"
- "${VERSION_ID}"
volumes:
- type: bind
source: ${SHARED_DIR}
target: /build/data/shared
networks:
main_net:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16