-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
94 lines (90 loc) · 3.41 KB
/
docker-compose.yaml
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
---
version: '3.0'
services:
envoy:
image: ghcr.io/ar-io/ar-io-envoy:${ENVOY_IMAGE_TAG:-312a2efbe092934906ab66f5b840951e51b5bfd9}
build:
context: envoy/
restart: on-failure:5
ports:
- '3000:3000'
- '9901:9901'
environment:
- LOG_LEVEL=info
- TVAL_AR_IO_HOST=core
- TVAL_AR_IO_PORT=4000
- TVAL_OBSERVER_HOST=observer
- TVAL_OBSERVER_PORT=5000
- TVAL_GATEWAY_HOST=${TRUSTED_GATEWAY_HOST:-arweave.net}
- TVAL_GRAPHQL_HOST=${GRAPHQL_HOST:-core}
- TVAL_GRAPHQL_PORT=${GRAPHQL_PORT:-4000}
- TVAL_ARNS_ROOT_HOST=${ARNS_ROOT_HOST:-}
depends_on:
- core
- observer
core:
image: ghcr.io/ar-io/ar-io-core:${CORE_IMAGE_TAG:-bc24b0856578313918afa8f515ebdf7ff613a96f}
build:
context: .
restart: on-failure:5
ports:
- 4000:4000
volumes:
- ${CHUNKS_DATA_PATH:-./data/chunks}:/app/data/chunks
- ${CONTIGUOUS_DATA_PATH:-./data/contiguous}:/app/data/contiguous
- ${HEADERS_DATA_PATH:-./data/headers}:/app/data/headers
- ${SQLITE_DATA_PATH:-./data/sqlite}:/app/data/sqlite
- ${TEMP_DATA_PATH:-./data/tmp}:/app/data/tmp
- ${LMDB_DATA_PATH:-./data/lmdb}:/app/data/lmdb
environment:
- NODE_ENV=${NODE_ENV:-production}
- LOG_FORMAT=${LOG_FORMAT:-simple}
- TRUSTED_NODE_URL=${TRUSTED_NODE_URL:-}
- TRUSTED_GATEWAY_URL=https://${TRUSTED_GATEWAY_HOST:-arweave.net}
- START_HEIGHT=${START_HEIGHT:-}
- STOP_HEIGHT=${STOP_HEIGHT:-}
- SKIP_CACHE=${SKIP_CACHE:-}
- SIMULATED_REQUEST_FAILURE_RATE=${SIMULATED_REQUEST_FAILURE_RATE:-}
- INSTANCE_ID=${INSTANCE_ID:-}
- AR_IO_WALLET=${AR_IO_WALLET:-}
- ADMIN_API_KEY=${ADMIN_API_KEY:-}
- BACKFILL_BUNDLE_RECORDS=${BACKFILL_BUNDLE_RECORDS:-}
- FILTER_CHANGE_REPROCESS=${FILTER_CHANGE_REPROCESS:-}
- ANS104_UNBUNDLE_WORKERS=${ANS104_UNBUNDLE_WORKERS:-}
- ANS104_UNBUNDLE_FILTER=${ANS104_UNBUNDLE_FILTER:-}
- ANS104_INDEX_FILTER=${ANS104_INDEX_FILTER:-}
- ARNS_ROOT_HOST=${ARNS_ROOT_HOST:-}
- SANDBOX_PROTOCOL=${SANDBOX_PROTOCOL:-}
- START_WRITERS=${START_WRITERS:-}
- CONTRACT_ID=${CONTRACT_ID:-}
- CHAIN_CACHE_TYPE=${CHAIN_CACHE_TYPE:-redis}
- REDIS_CACHE_URL=${REDIS_CACHE_URL:-redis://redis:6379}
- REDIS_CACHE_TTL_SECONDS=${REDIS_CACHE_TTL_SECONDS:-}
- NODE_JS_MAX_OLD_SPACE_SIZE=${NODE_JS_MAX_OLD_SPACE_SIZE:-}
- ENABLE_FS_HEADER_CACHE_CLEANUP=${ENABLE_FS_HEADER_CACHE_CLEANUP:-true}
depends_on:
- redis
redis:
image: redis:${REDIS_IMAGE_TAG:-7}
command: redis-server --appendonly yes --maxmemory ${REDIS_MAX_MEMORY:-2gb}
restart: on-failure:5
ports:
- 6379:6379
volumes:
- ${REDIS_DATA_PATH:-./data/redis}:/data
observer:
image: ghcr.io/ar-io/ar-io-observer:${OBSERVER_IMAGE_TAG:-af96b81d221665b3150e16556ee98fb10c57e4b5}
restart: on-failure:5
ports:
- 5000:5000
volumes:
- ${TEMP_DATA_PATH:-./data/tmp}:/app/data/tmp
- ${REPORTS_DATA_PATH:-./data/reports}:/app/data/reports
- ${WALLETS_PATH:-./wallets}:/app/wallets
environment:
- PORT=5000
- OBSERVER_WALLET=${OBSERVER_WALLET:-<example>}
- CONTRACT_ID=${CONTRACT_ID:-}
- SUBMIT_CONTRACT_INTERACTIONS=${SUBMIT_CONTRACT_INTERACTIONS:-true}
- NUM_ARNS_NAMES_TO_OBSERVE_PER_GROUP=${NUM_ARNS_NAMES_TO_OBSERVE_PER_GROUP:-5}
- RUN_OBSERVER=${RUN_OBSERVER:-true}