We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b4947 commit a5f0da1Copy full SHA for a5f0da1
docker-compose.yaml
@@ -5,7 +5,7 @@ services:
5
pull_policy: always
6
env_file:
7
- path: ./ssv.env
8
- required: false
+ required: true
9
environment:
10
- CONFIG_PATH=./config/config.example.yaml
11
- CONSENSUS_TYPE=validation
@@ -29,9 +29,13 @@ services:
29
image: docker.io/ssvlabs/ssv-node:latest
30
31
32
33
command: /bin/bash -c '
34
set -e;
35
+ if [ -z "$${PRIVATE_KEY_FILE}" ] || [ -z "$${PASSWORD_FILE}" ]; then
36
+ echo ERROR - PRIVATE_KEY_FILE or PASSWORD_FILE is not set;
37
+ exit 1;
38
+ fi;
39
echo $${PRIVATE_KEY_FILE};
40
if [ -s $${PRIVATE_KEY_FILE} ]; then
41
echo "private key already exists, skipping generation.";
0 commit comments