Remove the genesis volume added for Tendermint

This commit is contained in:
Luke Parker 2023-03-26 20:20:32 -04:00
parent 17818c2a02
commit ff70cbb223
No known key found for this signature in database
4 changed files with 0 additions and 26 deletions

View file

@ -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

View file

@ -1,5 +0,0 @@
FROM alpine
COPY entry-dev.sh /
ENTRYPOINT ["entry-dev.sh"]

View file

@ -1,7 +0,0 @@
#!/bin/sh
date +%s > /temp/genesis
GENESIS=$(cat /temp/genesis)
echo "Genesis: $GENESIS"
tail -f /dev/null

View file

@ -1,6 +1,5 @@
#!/bin/bash
export GENESIS=$(cat /temp/genesis)
if [[ -z $VALIDATOR ]]; then
serai-node --tmp --chain $CHAIN --name $NAME
else