mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-09 04:32:05 +00:00
8c232b6759
* Uses correct string for marketplace address * first steps towards support for arm64 * Applies multiarch ubuntu dockerfile as codex-dockerfile. * Add `--simulate-proof-failures` env variable, update docker-compose to point to slimmed image * Add image to CI, and update startCodex.sh * Sets up separate docker build for arm * Update arm64 arm of docker ci * [docker] modify startCodex.sh - include overridden node name in log output if specified in test - quote `—log-level` value so that multiple log levels can be specified - ensure any CLI parameter env vars are passed through to the codex binary, instead of conditionally including them - add `—persistence` - add `—validator` * fixes load and push for amd docker build --------- Co-authored-by: Eric Mastro <github@egonat.me>
28 lines
692 B
YAML
28 lines
692 B
YAML
services:
|
|
codex-node1:
|
|
image: status-im/codexsetup.slim:latest
|
|
ports:
|
|
- 8080:8080
|
|
# Available environment variables:
|
|
environment:
|
|
- LOG_LEVEL=TRACE
|
|
- METRICS_ADDR=0.0.0.0
|
|
- METRICS_PORT=9090
|
|
- NAT_IP=2.3.4.5
|
|
- API_PORT=8080
|
|
- DISC_IP=3.4.5.6
|
|
- DISC_PORT=8765
|
|
- NET_PRIVKEY=privkey
|
|
- BOOTSTRAP_SPR=bootstrap_record
|
|
- MAX_PEERS=123
|
|
- AGENT_STRING=agent_string
|
|
- STORAGE_QUOTA=123456789
|
|
- BLOCK_TTL=23456
|
|
- CACHE_SIZE=6543
|
|
- ETH_PROVIDER=eth
|
|
- ETH_ACCOUNT=account
|
|
- ETH_MARKETPLACE_ADDRESS=0x59b670e9fA9D0A427751Af201D676719a970857b
|
|
- SIMULATE_PROOF_FAILURES=2
|
|
|
|
|