Skip to content

NOS3#772 docker compose#810

Open
haisamido wants to merge 117 commits into
nasa:docker-compose-nos3-reorganizationfrom
haisamido:nos3#772-docker-compose
Open

NOS3#772 docker compose#810
haisamido wants to merge 117 commits into
nasa:docker-compose-nos3-reorganizationfrom
haisamido:nos3#772-docker-compose

Conversation

@haisamido

@haisamido haisamido commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

There are details about this branch here https://github.com/haisamido/nos3/blob/nos3%23772-docker-compose/deployments/README.md

But in summary you can follow these steps:

mkdir -p ~/development/github.com/haisamido && cd ~/development/github.com/haisamido

git clone -b nos3#772-docker-compose https://github.com/haisamido/nos3 || true && \
  cd ./nos3
  git submodule sync; git submodule update --init --recursive; git submodule sync
  cd ./deployments

# one time installation of *task* and `lazydocker` (optional)
make install-taskfile install-lazydocker 

# one time execution, note the use `make` here
make env-create

# then begin to use `task` instead of `make`
task up
task generate:env \
  PROJECT=nos3 \
  FLEET=nos3 \
  MISSION=m01 \
  SPACECRAFT=sc01 \
  FORTYTWO_HOST_PORT=30090 \
  YAMCS_HOST_PORT=8090 \
  OPENMCT_HOST_PORT=9000 && \
  task up

task generate:env PROJECT=nos3 FLEET=nos3 MISSION=m01 SPACECRAFT=sc02 FORTYTWO_HOST_PORT=30091 YAMCS_HOST_PORT=8091  OPENMCT_HOST_PORT=9001 && \
  task up

task generate:env PROJECT=nos3 FLEET=nos3 MISSION=m01 SPACECRAFT=sc03 FORTYTWO_HOST_PORT=30092 YAMCS_HOST_PORT=8092  OPENMCT_HOST_PORT=9002 && \
  task up

task generate:env PROJECT=ssmo FLEET=ssmo MISSION=m02 SPACECRAFT=sc01 FORTYTWO_HOST_PORT=30093 YAMCS_HOST_PORT=8093  OPENMCT_HOST_PORT=9003 && \
  task up

Closes #772

haisamido and others added 22 commits January 15, 2026 17:14
…orchestration

Taskfile.yaml:
- Removed 15 k8s variables (K8S_CONTEXT, K8S_NAMESPACE, K8S_BUILD_PATH, etc.)
- Removed 25 k8s: tasks (generate, apply, delete, port-forward, etc.)
- Added includes: block at bottom referencing targets/kubernetes/Taskfile.yaml with k8s: prefix
- Passed only user-overridable vars (PROJECT, MISSION, SPACECRAFT, host ports)

targets/kubernetes/Taskfile.yaml:
- Merged tasks from both main Taskfile and existing k8s Taskfile into single file
- Added k8s:up and k8s:down orchestration tasks mirroring compose up/down workflow
- Added k8s:status, k8s:message, k8s:redeploy convenience tasks
- Renamed hyphenated task names to colon-separated (e.g., create-namespace to create:namespace)
- Updated all paths to be relative to deployments/ (via dir: . in include)
- Added preconditions checking for .env existence before generate/convert tasks
- Organized tasks into sections: Orchestration, Context/Runtime, User Management, Namespace, Kompose, Manifest Generation, Apply/Deploy, Delete/Cleanup, Inspection/Debugging, Port Forwarding, Lifecycle, Environment
@zlynch2 zlynch2 changed the base branch from dev to docker-compose-nos3-reorganization May 27, 2026 14:39
@zlynch2 zlynch2 self-assigned this May 27, 2026
@zlynch2 zlynch2 marked this pull request as ready for review May 27, 2026 14:39
@zlynch2 zlynch2 changed the title [DRAFT] NOS3#772 docker compose NOS3#772 docker compose May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants