generated from sergeyWh1te/go-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
129 lines (122 loc) · 3.27 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
117
118
119
120
121
122
123
124
125
126
127
128
129
x-logging: &default-logging
options:
max-size: "50m"
max-file: "10"
services:
redis:
image: redis:7.0-alpine
container_name: redis
command: [ "redis-server", "--appendonly", "yes" ]
restart: unless-stopped
ports:
- "6379:6379"
nats:
image: nats:2.10.20-alpine3.20
container_name: nats
ports:
- "4222:4222"
- "8222:8222"
command: >
-js -c /etc/nats/nats.conf
environment:
- JS_STORAGE_DIR=/data/jetstream
volumes:
- ./nats/jetstream:/data/jetstream
- ./nats/nats.conf:/etc/nats/nats.conf
forwarder:
image: lidofinance/onchain-mon:stable
container_name: forwarder
build: ./
restart: always
command:
- ./forwarder
env_file:
- .env
environment:
- READ_ENV_FROM_SHELL=true
- ENV=${ENV}
- APP_NAME=${APP_NAME}
- PORT=${PORT}
- LOG_FORMAT=${LOG_FORMAT}
- LOG_LEVEL=${LOG_LEVEL}
- NATS_DEFAULT_URL=http://nats:4222
- REDIS_ADDRESS=redis:6379
- REDIS_DB=${REDIS_DB}
- QUORUM_SIZE=${QUORUM_SIZE}
ports:
- "8081:8080"
depends_on:
- redis
- nats
volumes:
- ./notification.yaml:/etc/forwarder/notification.yaml
feeder:
image: lidofinance/onchain-mon:stable
container_name: feeder
build: ./
restart: always
command:
- ./feeder
env_file:
- .env
environment:
- READ_ENV_FROM_SHELL=true
- ENV=${ENV}
- APP_NAME=${APP_NAME}
- PORT=${PORT}
- LOG_FORMAT=${LOG_FORMAT}
- LOG_LEVEL=${LOG_LEVEL}
- NATS_DEFAULT_URL=http://nats:4222
- REDIS_ADDRESS=redis:6379
- BLOCK_TOPIC=${BLOCK_TOPIC}
ports:
- "8082:8080"
depends_on:
- redis
- nats
# l2-optimism:
# container_name: l2-optimism
# image: l2-unified
# restart: unless-stopped
# # networks:
# # - forta_default
# depends_on:
# - nats
# environment:
# - ETHEREUM_RPC_URL=${ETHEREUM_RPC_URL:-https://eth.drpc.org}
# - L2_RPC_URL=${OPTIMISM_RPC_URL:-https://mainnet.optimism.io}
# # - L2_RPC_URL=https://mainnet.optimism.io
# - NATS_SERVER_URL=http://nats:4222
# - LOG_LEVEL=debug
# command: ["yarn", "start:optimism:prod"]
#service-ethereum-steth-v2:
# container_name: ethereum-steth-v2
# logging: *default-logging
# image: monitoring/steth-v2:latest
# restart: unless-stopped
# environment:
# - APP_NAME=ethereum-steth-v2
# - INSTANCE=forta-local-host
# - ETHEREUM_RPC_URL=https://eth-mainnet.alchemyapi.io/v2/<your_key>
# - NODE_ENV=production
# - NATS_SERVER_URL=http://127.0.0.1:4222
# depends_on:
# - service-forta-nats
# ports:
# - "3002:3000"
#service-l2-bridge-arbitrum-v2:
# container_name: l2-bridge-arbitrum-v2
# logging: *default-logging
# image: monitoring/l2-bridge-arbitrum-v2:latest
# restart: unless-stopped
# environment:
# - APP_NAME=l2-bridge-arbitrum-v2
# - INSTANCE=forta-local-host
# - ETHEREUM_RPC_URL=https://eth-mainnet.alchemyapi.io/v2/<your_key>
# - ARBITRUM_RPC_URL=https://arbitrum-one.blastapi.io/<your_key>
# - NODE_ENV=production
# - NATS_DEFAULT_URL=http://127.0.0.1:4222
# depends_on:
# - service-forta-nats
# ports:
# - "3003:3000"