forked from cerc-io/stack-orchestrator
Ping pub (#663)
for #170, revives #190 uses https://github.com/LaconicNetwork/explorer/pull/1 Co-authored-by: zramsay <zach@bluecollarcoding.ca> Co-authored-by: David Boreham <david@bozemanpass.com> Reviewed-on: cerc-io/stack-orchestrator#663 Co-authored-by: zramsay <zramsay@noreply.git.vdb.to> Co-committed-by: zramsay <zramsay@noreply.git.vdb.to>
This commit is contained in:
parent
8be1e684e8
commit
afd6be3b13
@ -0,0 +1,8 @@
|
|||||||
|
version: "3.2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
ping-pub:
|
||||||
|
image: cerc/ping-pub:local
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "5173:5173"
|
5
stack_orchestrator/data/container-build/cerc-ping-pub/build.sh
Executable file
5
stack_orchestrator/data/container-build/cerc-ping-pub/build.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Build the ping pub image
|
||||||
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
||||||
|
|
||||||
|
docker build -t cerc/ping-pub:local ${build_command_args} -f $CERC_REPO_BASE_DIR/explorer/Dockerfile $CERC_REPO_BASE_DIR/explorer
|
10
stack_orchestrator/data/stacks/ping-pub/README.md
Normal file
10
stack_orchestrator/data/stacks/ping-pub/README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# ping-pub
|
||||||
|
Experimental block explorer for laconic
|
||||||
|
|
||||||
|
```
|
||||||
|
laconic-so --stack ping-pub setup-repositories
|
||||||
|
laconic-so --stack ping-pub build-containers
|
||||||
|
laconic-so --stack ping-pub deploy init --output ping-pub-spec.yml --map-ports-to-host localhost-same
|
||||||
|
laconic-so --stack ping-pub deploy create --spec-file ping-pub-spec.yml --deployment-dir pp-deployment
|
||||||
|
laconic-so deployment --dir pp-deployment start
|
||||||
|
```
|
9
stack_orchestrator/data/stacks/ping-pub/stack.yml
Normal file
9
stack_orchestrator/data/stacks/ping-pub/stack.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: "0.1"
|
||||||
|
name: ping-pub
|
||||||
|
repos:
|
||||||
|
# fork, but only for config & Dockerfile reasonsb
|
||||||
|
- github.com/LaconicNetwork/explorer@laconic
|
||||||
|
containers:
|
||||||
|
- cerc/ping-pub
|
||||||
|
pods:
|
||||||
|
- ping-pub
|
Loading…
Reference in New Issue
Block a user