services: codex-node1: image: codexstorage/nim-codex:sha-82b0399 environment: - CODEX_LOG_LEVEL=${CODEX_LOG_LEVEL:-TRACE} - CODEX_METRICS=${CODEX_METRICS:-false} - CODEX_METRICS_ADDRESS=${CODEX_METRICS_ADDRESS:-0.0.0.0} - CODEX_METRICS_PORT=${CODEX_METRICS_PORT:-8008} - CODEX_DATA_DIR=${CODEX_DATA_DIR:-/datadir} - CODEX_LISTEN_ADDRS=${CODEX_LISTEN_ADDRS:-/ip4/0.0.0.0/tcp/2345} - CODEX_NAT=${CODEX_NAT:-10.0.0.10} - CODEX_DISC_IP=${CODEX_DISC_IP:-0.0.0.0} - CODEX_DISC_PORT=${CODEX_DISC_PORT:-8090} - CODEX_NET_PRIVKEY=${CODEX_NET_PRIVKEY:-key} # - CODEX_BOOTSTRAP_NODE=${CODEX_BOOTSTRAP_NODE} - CODEX_MAX_PEERS=${CODEX_MAX_PEERS:-160} - CODEX_AGENT_STRING=${CODEX_AGENT_STRING:-Codex} - CODEX_API_BINDADDR=${CODEX_API_BINDADDR:-127.0.0.1} - CODEX_API_PORT=${CODEX_API_PORT:-8080} - CODEX_REPO_KIND=${CODEX_REPO_KIND:-fs} - CODEX_STORAGE_QUOTA=${CODEX_STORAGE_QUOTA:-8589934592} - CODEX_BLOCK_TTL=${CODEX_BLOCK_TTL:-0} # - CODEX_BLOCK_MI=${CODEX_BLOCK_MI} - CODEX_BLOCK_MN=${CODEX_BLOCK_MN:-1000} - CODEX_CACHE_SIZE=${CODEX_CACHE_SIZE:-0} - CODEX_PERSISTENCE=${CODEX_PERSISTENCE:-false} - CODEX_ETH_PROVIDER=${CODEX_ETH_PROVIDER:-ws://localhost:8545} # - CODEX_ETH_ACCOUNT=${CODEX_ETH_ACCOUNT} # - CODEX_MARKETPLACE_ADDRESS=${CODEX_MARKETPLACE_ADDRESS:-0x59b670e9fA9D0A427751Af201D676719a970857b} - CODEX_VALIDATOR=${CODEX_VALIDATOR:-false} - CODEX_VALIDATOR_MAX_SLOTS=${CODEX_VALIDATOR_MAX_SLOTS:-1000} ports: - 8080:8080/tcp # REST API - 8008:8008/tcp # Metrics - 2345:2345/tcp # libp2p - 8090:8090/udp # DHT discovery volumes: - ./datadir:/datadir:z networks: - codex networks: codex: driver: bridge