Add console container pod

This commit is contained in:
David Boreham 2023-03-30 00:27:19 -06:00
parent d01fb777d4
commit 3fb968c9cf
3 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,6 @@
services:
laconic-console:
restart: unless-stopped
image: cerc/laconic-console-host:local
ports:
- "80"

View File

@ -54,4 +54,4 @@ RUN yarn global add @cerc-io/console-app
EXPOSE 80 EXPOSE 80
# Default command sleeps forever so docker doesn't kill it # Default command sleeps forever so docker doesn't kill it
CMD ["sh", "-c", "while :; do sleep 600; done"] CMD ["http-server", "-p", "80", "/usr/local/share/.config/yarn/global/node_modules/@cerc-io/console-app/dist/production"]

View File

@ -23,6 +23,7 @@ containers:
- cerc/laconic-registry-cli - cerc/laconic-registry-cli
pods: pods:
- fixturenet-laconicd - fixturenet-laconicd
- fixturenet-laconic-console
config: config:
cli: cli:
key: laconicd.mykey key: laconicd.mykey