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