-
Notifications
You must be signed in to change notification settings - Fork 78
/
docker-compose.yml
43 lines (43 loc) · 1.32 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
version: '3.8'
services:
reverse-proxy:
image: nginx:latest
ports:
- "${NODE_RETRIEVAL_PORT}:${NODE_RETRIEVAL_PORT}"
- "${NODE_API_PORT}:${NODE_API_PORT}"
volumes:
- "${NODE_NGINX_CONF_HOST}:/etc/nginx/templates/default.conf.template:ro"
depends_on:
- da-node
networks:
- eigenda
environment:
- "REQUEST_LIMIT=10r/s"
- "NODE_HOST=${MAIN_SERVICE_NAME}"
- "BURST_LIMIT=50"
env_file:
- .env
restart: unless-stopped
da-node:
env_file:
- .env
container_name: ${MAIN_SERVICE_NAME}
image: ${MAIN_SERVICE_IMAGE}
ports:
- "${NODE_DISPERSAL_PORT}:${NODE_DISPERSAL_PORT}"
- "${NODE_METRICS_PORT}:${NODE_METRICS_PORT}"
networks:
- eigenda
volumes:
- "${NODE_ECDSA_KEY_FILE_HOST}:/app/operator_keys/ecdsa_key.json:readonly"
- "${NODE_BLS_KEY_FILE_HOST}:/app/operator_keys/bls_key.json:readonly"
- "${NODE_G1_PATH_HOST}:/app/g1.point:readonly"
- "${NODE_G2_PATH_HOST}:/app/g2.point.powerOf2:readonly"
- "${NODE_CACHE_PATH_HOST}:/app/cache:rw"
- "${NODE_LOG_PATH_HOST}:/app/logs:rw"
- "${NODE_DB_PATH_HOST}:/data/operator/db:rw"
# - "${NODE_BLS_SIGNER_CERT_FILE_HOST}:/app/cerberus/cerberus.crt:readonly"
restart: unless-stopped
networks:
eigenda:
name: ${NETWORK_NAME}