nim-codex/docker/docker-entrypoint.sh
Slava 6dd7e55719
Enable codex_enable_api_debug_peers (#471) (#474)
- Enable codex_enable_api_debug_peers

 - Add NAT_IP_AUTO for Dist-Tests
2023-07-10 16:15:06 +03:00

12 lines
191 B
Bash

#!/bin/bash
# Parameters
if [[ "${NAT_IP_AUTO}" == "true" ]]; then
export CODEX_NAT=$(hostname --ip-address)
echo "Set CODEX_NAT: ${CODEX_NAT}"
fi
# Run
echo "Run Codex node"
exec "$@"