Ping pub #663

Merged
dboreham merged 5 commits from ping-pub into main 2024-02-08 20:13:13 +00:00
5 changed files with 44 additions and 0 deletions
Showing only changes of commit dbffcb233e - Show all commits

View File

@ -0,0 +1,8 @@
version: "3.2"
services:
ping-pub:
image: cerc/ping-pub:local
restart: always
ports:
- "5137"

todo: 5173

todo: `5173`

View File

@ -0,0 +1,11 @@
FROM node:lts-slim
WORKDIR /app
COPY . .
RUN yarn --ignore-engines
EXPOSE 5173
CMD ["yarn", "serve"]

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Build the ping pub image
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/ping-pub:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile $SCRIPT_DIR

View File

@ -0,0 +1,9 @@
# ping-pub
```
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
```

todo: test deployment

todo: test deployment

View File

@ -0,0 +1,8 @@
version: "0.1"
name: ping-pub
repos:
- github.com/LaconicNetwork/explorer@laconic
containers:
- cerc/ping-pub
pods:
- ping-pub