From 2d764fc7d0b15ffc3e3b78ae884c8f7825966703 Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 29 Jan 2024 16:00:58 +0000 Subject: [PATCH] basic mars stack --- stack_orchestrator/data/compose/docker-compose-mars.yml | 8 ++++++++ .../data/container-build/cerc-mars/build.sh | 4 ++++ stack_orchestrator/data/stacks/mars/stack.yml | 8 ++++++++ 3 files changed, 20 insertions(+) create mode 100644 stack_orchestrator/data/compose/docker-compose-mars.yml create mode 100755 stack_orchestrator/data/container-build/cerc-mars/build.sh create mode 100644 stack_orchestrator/data/stacks/mars/stack.yml diff --git a/stack_orchestrator/data/compose/docker-compose-mars.yml b/stack_orchestrator/data/compose/docker-compose-mars.yml new file mode 100644 index 00000000..5b1a44e0 --- /dev/null +++ b/stack_orchestrator/data/compose/docker-compose-mars.yml @@ -0,0 +1,8 @@ +version: "3.2" + +services: + mars: + image: cerc/mars:local + restart: always + ports: + - "3000:3000" diff --git a/stack_orchestrator/data/container-build/cerc-mars/build.sh b/stack_orchestrator/data/container-build/cerc-mars/build.sh new file mode 100755 index 00000000..28ebf417 --- /dev/null +++ b/stack_orchestrator/data/container-build/cerc-mars/build.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build the mars image +source ${CERC_CONTAINER_BASE_DIR}/build-base.sh +docker build -t cerc/mars:local -f ${CERC_REPO_BASE_DIR}/mars-interface/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/mars-interface diff --git a/stack_orchestrator/data/stacks/mars/stack.yml b/stack_orchestrator/data/stacks/mars/stack.yml new file mode 100644 index 00000000..314afa36 --- /dev/null +++ b/stack_orchestrator/data/stacks/mars/stack.yml @@ -0,0 +1,8 @@ +version: "0.1" +name: mars +repos: + - github.com/cerc-io/mars-interface +containers: + - cerc/mars +pods: + - mars