Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Add an init container #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

klemenfn
Copy link

Add an init container to automatically populate config on docker compose up.

.env for scaling has to be moved into environment section due to compose checking for .env file existence prior to starting the services which is a chicken and egg problem - .env won't exist until init is run. Also add a safety check for RPC node block which can be empty on unreachable RPC causing a weird and misleading bash error.

…ose up.

.env for scaling has to be moved into environment section due to compose
checking for .env file existence prior to starting the services
which is a chicken and egg problem - .env won't exist until init is run.
Also add a safety check for RPC node block which can be empty on unreachable RPC
causing a weird and misleading bash error.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant