From 54cc993fa427175f5f7daa880800c6f99f919f03 Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 6 Nov 2023 16:00:05 +0000 Subject: [PATCH] osmosis FE stack --- app/data/container-build/cerc-osmosis-front-end/build.sh | 4 ++++ app/data/stacks/osmosis-front-end/README.md | 7 +++++++ app/data/stacks/osmosis-front-end/stack.yml | 8 ++++++++ .../data/compose/docker-compose-osmosis-front-end.yml | 8 ++++++++ 4 files changed, 27 insertions(+) create mode 100644 app/data/container-build/cerc-osmosis-front-end/build.sh create mode 100644 app/data/stacks/osmosis-front-end/README.md create mode 100644 app/data/stacks/osmosis-front-end/stack.yml create mode 100644 stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml diff --git a/app/data/container-build/cerc-osmosis-front-end/build.sh b/app/data/container-build/cerc-osmosis-front-end/build.sh new file mode 100644 index 00000000..22f2c346 --- /dev/null +++ b/app/data/container-build/cerc-osmosis-front-end/build.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build the osmosis front end image +source ${CERC_CONTAINER_BASE_DIR}/build-base.sh +docker build -t cerc/osmosis-front-end:local -f ${CERC_REPO_BASE_DIR}/osmosis-frontend/docker/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/osmosis-frontend diff --git a/app/data/stacks/osmosis-front-end/README.md b/app/data/stacks/osmosis-front-end/README.md new file mode 100644 index 00000000..199dda68 --- /dev/null +++ b/app/data/stacks/osmosis-front-end/README.md @@ -0,0 +1,7 @@ +# self-hosted osmosis front-end + +``` +laconic-so --stack osmosis-front-end setup-repositories +laconic-so --stack osmosis-front-end build-containers +laconic-so --stack osmosis-front-end deploy up +``` diff --git a/app/data/stacks/osmosis-front-end/stack.yml b/app/data/stacks/osmosis-front-end/stack.yml new file mode 100644 index 00000000..d4601c19 --- /dev/null +++ b/app/data/stacks/osmosis-front-end/stack.yml @@ -0,0 +1,8 @@ +version: "0.1" +name: osmosis-front-end +repos: + - github.com/osmosis-labs/osmosis-frontend +containers: + - cerc/osmosis-front-end +pods: + - osmosis-front-end diff --git a/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml b/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml new file mode 100644 index 00000000..32392882 --- /dev/null +++ b/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml @@ -0,0 +1,8 @@ +version: "3.2" + +services: + osmosis-front-end: + image: cerc/osmosis-front-end:local + restart: always + ports: + - "3000:3000" #TODO make `3000` when using the deployment feature