mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 17:40:34 +00:00
Remove the genesis volume added for Tendermint
This commit is contained in:
parent
17818c2a02
commit
ff70cbb223
4 changed files with 0 additions and 26 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
FROM alpine
|
||||
|
||||
COPY entry-dev.sh /
|
||||
|
||||
ENTRYPOINT ["entry-dev.sh"]
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
date +%s > /temp/genesis
|
||||
GENESIS=$(cat /temp/genesis)
|
||||
echo "Genesis: $GENESIS"
|
||||
|
||||
tail -f /dev/null
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
export GENESIS=$(cat /temp/genesis)
|
||||
if [[ -z $VALIDATOR ]]; then
|
||||
serai-node --tmp --chain $CHAIN --name $NAME
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue