hope you’re doing well.
I’m pulling a Docker image through Docker Hub in my task definition using ECS + Fargate. This image requires to pass a .toml (first-toml.toml) file through a flag. Inside the toml you’ve to reference another TOML (CORE_CONFIG_PATH=”/test/second-toml.toml”) as well and save it in a folder (it doesn’t matter the name)
I’ve something like this in the docker command configuration:
mkdir test; echo $S3_OBJECT_SECOND_TOML > /test/second-toml.toml; /usr/bin/application-soroban-rpc --config-path $S3_OBJECT_FIRST_TOML
But this doesn’t work as expected. Do you know how I can get the S3 Objects and reference them?
This is my first-toml.toml:
CORE_CONFIG_PATH="/test/second-toml.toml"
CORE_STORAGE_PATH="/var/lib/core"
CORE_USE_DB=true
CORE_BINARY_PATH="/usr/bin/core"
ENDPOINT="0.0.0.0:8000"
DB_PATH="/var/lib/my-db.sqlite"
Sambucetti is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.