From ff70cbb223bcc46be63f977eb47fbb4ef0848802 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 26 Mar 2023 20:20:32 -0400 Subject: [PATCH] Remove the genesis volume added for Tendermint --- deploy/docker-compose.yml | 13 ------------- deploy/genesis/Dockerfile | 5 ----- deploy/genesis/entry-dev.sh | 7 ------- deploy/serai/scripts/entry-dev.sh | 1 - 4 files changed, 26 deletions(-) delete mode 100644 deploy/genesis/Dockerfile delete mode 100755 deploy/genesis/entry-dev.sh diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 772a5da1..29a77365 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -22,18 +22,8 @@ volumes: serai-dave: serai-eve: serai-ferdie: - genesis-volume: services: - genesis: - image: genesis:dev - build: - context: ./genesis/ - dockerfile: Dockerfile - entrypoint: /entry-dev.sh - volumes: - - genesis-volume:/temp - _serai: &serai_defaults restart: unless-stopped @@ -48,9 +38,6 @@ services: entrypoint: /scripts/entry-dev.sh volumes: - "./serai/scripts:/scripts" - - genesis-volume:/temp - depends_on: - - genesis serai-base: <<: *serai_defaults diff --git a/deploy/genesis/Dockerfile b/deploy/genesis/Dockerfile deleted file mode 100644 index 014642d9..00000000 --- a/deploy/genesis/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM alpine - -COPY entry-dev.sh / - -ENTRYPOINT ["entry-dev.sh"] diff --git a/deploy/genesis/entry-dev.sh b/deploy/genesis/entry-dev.sh deleted file mode 100755 index 46ff6d60..00000000 --- a/deploy/genesis/entry-dev.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -date +%s > /temp/genesis -GENESIS=$(cat /temp/genesis) -echo "Genesis: $GENESIS" - -tail -f /dev/null diff --git a/deploy/serai/scripts/entry-dev.sh b/deploy/serai/scripts/entry-dev.sh index 2a5641ca..4ae4afe0 100755 --- a/deploy/serai/scripts/entry-dev.sh +++ b/deploy/serai/scripts/entry-dev.sh @@ -1,6 +1,5 @@ #!/bin/bash -export GENESIS=$(cat /temp/genesis) if [[ -z $VALIDATOR ]]; then serai-node --tmp --chain $CHAIN --name $NAME else