doc
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m41s
Tests / Run compliance tests (pull_request) Successful in 3m45s

This commit is contained in:
Roy Crihfield 2023-09-29 21:22:36 +08:00
parent 67086055c2
commit 8bc6c378a8
2 changed files with 6 additions and 2 deletions

View File

@ -18,6 +18,10 @@ go build .
See [./environments/example.toml](./environments/example.toml) for an annotated example config file. See [./environments/example.toml](./environments/example.toml) for an annotated example config file.
> **Note:** previous versions of this service used different variable names. To update, change the following:
> * `LVLDB_MODE`, `LVLDB_PATH`, `LVLDB_ANCIENT`, `LVLDB_URL` => `LEVELDB_*`
> * `LOG_FILE_PATH` => `LOG_FILE`
### Local Setup ### Local Setup
* Create a chain config file `chain.json` according to chain config in genesis json file used by local geth. * Create a chain config file `chain.json` according to chain config in genesis json file used by local geth.

View File

@ -10,8 +10,8 @@ fi
# Check the database variables are set # Check the database variables are set
test "$VDB_COMMAND" test "$VDB_COMMAND"
# docker must be run in privilaged mode for mounts to work # docker must be run in privileged mode for mounts to work
echo "Setting up /app/geth-rw overlayed /app/geth-ro" echo "Setting up /app/geth-rw overlayed onto /app/geth-ro"
mkdir -p /tmp/overlay mkdir -p /tmp/overlay
mount -t tmpfs tmpfs /tmp/overlay mount -t tmpfs tmpfs /tmp/overlay
mkdir -p /tmp/overlay/upper mkdir -p /tmp/overlay/upper