ping pub
This commit is contained in:
parent
1a37255c18
commit
dbffcb233e
@ -0,0 +1,8 @@
|
||||
version: "3.2"
|
||||
|
||||
services:
|
||||
ping-pub:
|
||||
image: cerc/ping-pub:local
|
||||
restart: always
|
||||
ports:
|
||||
- "5137"
|
@ -0,0 +1,11 @@
|
||||
FROM node:lts-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn --ignore-engines
|
||||
|
||||
EXPOSE 5173
|
||||
|
||||
CMD ["yarn", "serve"]
|
8
stack_orchestrator/data/container-build/cerc-ping-pub/build.sh
Executable file
8
stack_orchestrator/data/container-build/cerc-ping-pub/build.sh
Executable 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
|
9
stack_orchestrator/data/stacks/ping-pub/README.md
Normal file
9
stack_orchestrator/data/stacks/ping-pub/README.md
Normal 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
|
||||
```
|
8
stack_orchestrator/data/stacks/ping-pub/stack.yml
Normal file
8
stack_orchestrator/data/stacks/ping-pub/stack.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: "0.1"
|
||||
name: ping-pub
|
||||
repos:
|
||||
- github.com/LaconicNetwork/explorer@laconic
|
||||
containers:
|
||||
- cerc/ping-pub
|
||||
pods:
|
||||
- ping-pub
|
Loading…
Reference in New Issue
Block a user