Skip to content

Commit

Permalink
Ping pub (#663)
Browse files Browse the repository at this point in the history
for #170, revives #190
uses LaconicNetwork/explorer#1

Co-authored-by: zramsay <[email protected]>
Co-authored-by: David Boreham <[email protected]>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/663
Co-authored-by: zramsay <[email protected]>
Co-committed-by: zramsay <[email protected]>
  • Loading branch information
3 people authored and David Boreham committed Feb 8, 2024
1 parent 8be1e68 commit afd6be3
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stack_orchestrator/data/compose/docker-compose-ping-pub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: "3.2"

services:
ping-pub:
image: cerc/ping-pub:local
restart: always
ports:
- "5173:5173"
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions stack_orchestrator/data/stacks/ping-pub/README.md
Original file line number Diff line number Diff line change
@@ -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 changes: 9 additions & 0 deletions stack_orchestrator/data/stacks/ping-pub/stack.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit afd6be3

Please sign in to comment.