From 3ef5367ed167601e6fde224aa3f28052a6873fef Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Sat, 8 Feb 2025 14:09:34 -0800 Subject: [PATCH] mbecker20 -> moghtech --- Cargo.toml | 2 +- bin/binaries.Dockerfile | 2 +- bin/core/aio.Dockerfile | 2 +- bin/core/multi-arch.Dockerfile | 6 ++-- bin/core/single-arch.Dockerfile | 4 +-- bin/periphery/aio.Dockerfile | 2 +- bin/periphery/multi-arch.Dockerfile | 4 +-- bin/periphery/single-arch.Dockerfile | 4 +-- client/core/rs/src/entities/build.rs | 2 +- client/core/rs/src/entities/config/core.rs | 6 ++-- .../core/rs/src/entities/config/periphery.rs | 2 +- .../rs/src/entities/server_template/aws.rs | 2 +- .../src/entities/server_template/hetzner.rs | 2 +- client/core/ts/src/types.ts | 2 +- compose/compose.env | 4 +-- compose/mongo.compose.yaml | 6 ++-- compose/postgres.compose.yaml | 6 ++-- compose/sqlite.compose.yaml | 6 ++-- config/core.config.toml | 4 +-- config/periphery.config.toml | 2 +- docsite/docs/build-images/builders.md | 2 +- docsite/docs/build-images/configuration.md | 2 +- docsite/docs/connect-servers.mdx | 24 ++++++------- docsite/docs/development.md | 2 +- docsite/docs/setup/advanced.mdx | 6 ++-- docsite/docs/setup/mongo.mdx | 4 +-- docsite/docs/setup/postgres.mdx | 4 +-- docsite/docs/setup/sqlite.mdx | 4 +-- docsite/docs/sync-resources.md | 4 +-- docsite/docs/version-upgrades.md | 4 +-- docsite/docusaurus.config.ts | 6 ++-- docsite/src/components/ComposeAndEnv.tsx | 8 ++--- docsite/src/pages/index.tsx | 4 +-- frontend/Dockerfile | 2 +- frontend/public/client/types.d.ts | 2 +- frontend/src/components/topbar.tsx | 2 +- frontend/src/pages/login.tsx | 2 +- readme.md | 36 +++++++++---------- scripts/readme.md | 6 ++-- scripts/setup-periphery.py | 6 ++-- 40 files changed, 100 insertions(+), 100 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index af559b248..e39b76556 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ version = "1.17.0-dev" edition = "2021" authors = ["mbecker20 "] license = "GPL-3.0-or-later" -repository = "https://github.com/mbecker20/komodo" +repository = "https://github.com/moghtech/komodo" homepage = "https://komo.do" [workspace.dependencies] diff --git a/bin/binaries.Dockerfile b/bin/binaries.Dockerfile index a786f9b44..305256ab6 100644 --- a/bin/binaries.Dockerfile +++ b/bin/binaries.Dockerfile @@ -22,6 +22,6 @@ FROM scratch COPY --from=builder /builder/target/release/core /core COPY --from=builder /builder/target/release/periphery /periphery -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Periphery" LABEL org.opencontainers.image.licenses=GPL-3.0 \ No newline at end of file diff --git a/bin/core/aio.Dockerfile b/bin/core/aio.Dockerfile index e68076fd9..42c9661f5 100644 --- a/bin/core/aio.Dockerfile +++ b/bin/core/aio.Dockerfile @@ -48,7 +48,7 @@ RUN mkdir /action-cache && \ EXPOSE 9120 # Label for Ghcr -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Core" LABEL org.opencontainers.image.licenses=GPL-3.0 diff --git a/bin/core/multi-arch.Dockerfile b/bin/core/multi-arch.Dockerfile index 326ab35c5..36c9934a9 100644 --- a/bin/core/multi-arch.Dockerfile +++ b/bin/core/multi-arch.Dockerfile @@ -2,8 +2,8 @@ ## Sets up the necessary runtime container dependencies for Komodo Core. ## Since theres no heavy build here, QEMU multi-arch builds are fine for this image. -ARG BINARIES_IMAGE=ghcr.io/mbecker20/komodo-binaries:latest -ARG FRONTEND_IMAGE=ghcr.io/mbecker20/komodo-frontend:latest +ARG BINARIES_IMAGE=ghcr.io/moghtech/komodo-binaries:latest +ARG FRONTEND_IMAGE=ghcr.io/moghtech/komodo-frontend:latest ARG X86_64_BINARIES=${BINARIES_IMAGE}-x86_64 ARG AARCH64_BINARIES=${BINARIES_IMAGE}-aarch64 @@ -43,7 +43,7 @@ RUN mkdir /action-cache && \ EXPOSE 9120 # Label for Ghcr -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Core" LABEL org.opencontainers.image.licenses=GPL-3.0 diff --git a/bin/core/single-arch.Dockerfile b/bin/core/single-arch.Dockerfile index 4db635437..e51d10956 100644 --- a/bin/core/single-arch.Dockerfile +++ b/bin/core/single-arch.Dockerfile @@ -1,7 +1,7 @@ ## Assumes the latest binaries for the required arch are already built (by binaries.Dockerfile). ## Sets up the necessary runtime container dependencies for Komodo Core. -ARG BINARIES_IMAGE=ghcr.io/mbecker20/komodo-binaries:latest +ARG BINARIES_IMAGE=ghcr.io/moghtech/komodo-binaries:latest # This is required to work with COPY --from FROM ${BINARIES_IMAGE} AS binaries @@ -37,7 +37,7 @@ RUN mkdir /action-cache && \ EXPOSE 9120 # Label for Ghcr -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Core" LABEL org.opencontainers.image.licenses=GPL-3.0 diff --git a/bin/periphery/aio.Dockerfile b/bin/periphery/aio.Dockerfile index ec5106840..789daea0d 100644 --- a/bin/periphery/aio.Dockerfile +++ b/bin/periphery/aio.Dockerfile @@ -22,7 +22,7 @@ COPY --from=builder /builder/target/release/periphery /usr/local/bin/periphery EXPOSE 8120 -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Periphery" LABEL org.opencontainers.image.licenses=GPL-3.0 diff --git a/bin/periphery/multi-arch.Dockerfile b/bin/periphery/multi-arch.Dockerfile index 481630e36..166563157 100644 --- a/bin/periphery/multi-arch.Dockerfile +++ b/bin/periphery/multi-arch.Dockerfile @@ -2,7 +2,7 @@ ## Sets up the necessary runtime container dependencies for Komodo Periphery. ## Since theres no heavy build here, QEMU multi-arch builds are fine for this image. -ARG BINARIES_IMAGE=ghcr.io/mbecker20/komodo-binaries:latest +ARG BINARIES_IMAGE=ghcr.io/moghtech/komodo-binaries:latest ARG X86_64_BINARIES=${BINARIES_IMAGE}-x86_64 ARG AARCH64_BINARIES=${BINARIES_IMAGE}-aarch64 @@ -26,7 +26,7 @@ RUN mv /app/arch/${TARGETPLATFORM} /usr/local/bin/periphery && rm -r /app/arch EXPOSE 8120 -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Periphery" LABEL org.opencontainers.image.licenses=GPL-3.0 diff --git a/bin/periphery/single-arch.Dockerfile b/bin/periphery/single-arch.Dockerfile index bf3198bd8..71e9cd761 100644 --- a/bin/periphery/single-arch.Dockerfile +++ b/bin/periphery/single-arch.Dockerfile @@ -1,7 +1,7 @@ ## Assumes the latest binaries for the required arch are already built (by binaries.Dockerfile). ## Sets up the necessary runtime container dependencies for Komodo Periphery. -ARG BINARIES_IMAGE=ghcr.io/mbecker20/komodo-binaries:latest +ARG BINARIES_IMAGE=ghcr.io/moghtech/komodo-binaries:latest # This is required to work with COPY --from FROM ${BINARIES_IMAGE} AS binaries @@ -16,7 +16,7 @@ COPY --from=binaries /periphery /usr/local/bin/periphery EXPOSE 8120 -LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo LABEL org.opencontainers.image.description="Komodo Periphery" LABEL org.opencontainers.image.licenses=GPL-3.0 diff --git a/client/core/rs/src/entities/build.rs b/client/core/rs/src/entities/build.rs index 2674c90bb..9621feab2 100644 --- a/client/core/rs/src/entities/build.rs +++ b/client/core/rs/src/entities/build.rs @@ -122,7 +122,7 @@ pub struct BuildConfig { pub image_name: String, /// An extra tag put before the build version, for the image pushed to the repository. - /// Eg. in image tag of `aarch64` would push to mbecker20/komodo:1.13.2-aarch64. + /// Eg. in image tag of `aarch64` would push to moghtech/komodo:1.13.2-aarch64. /// If this is empty, the image tag will just be the build version. /// /// Can be used in conjunction with `image_name` to direct multiple builds diff --git a/client/core/rs/src/entities/config/core.rs b/client/core/rs/src/entities/config/core.rs index 93f0e1577..06d4d6d30 100644 --- a/client/core/rs/src/entities/config/core.rs +++ b/client/core/rs/src/entities/config/core.rs @@ -27,7 +27,7 @@ use super::{empty_or_redacted, DockerRegistry, GitProvider}; /// although the lower case format can still be parsed. /// /// *Note.* The Komodo Core docker image includes the default core configuration found at -/// [https://github.com/mbecker20/komodo/blob/main/config/core.config.toml](https://github.com/mbecker20/komodo/blob/main/config/core.config.toml). +/// [https://github.com/moghtech/komodo/blob/main/config/core.config.toml](https://github.com/moghtech/komodo/blob/main/config/core.config.toml). /// To configure the core api, you can either mount your own custom configuration file to /// `/config/config.toml` inside the container, /// or simply override whichever fields you need using the environment. @@ -227,12 +227,12 @@ fn default_config_path() -> String { /// and then applying any config field overrides specified in the environment. /// /// *Note.* The Komodo Core docker image includes the default core configuration found at -/// [https://github.com/mbecker20/komodo/blob/main/config/core.config.toml](https://github.com/mbecker20/komodo/blob/main/config/core.config.toml). +/// [https://github.com/moghtech/komodo/blob/main/config/core.config.toml](https://github.com/moghtech/komodo/blob/main/config/core.config.toml). /// To configure the core api, you can either mount your own custom configuration file to /// `/config/config.toml` inside the container, /// or simply override whichever fields you need using the environment. /// -/// Refer to the [example file](https://github.com/mbecker20/komodo/blob/main/config/core.config.toml) for a full example. +/// Refer to the [example file](https://github.com/moghtech/komodo/blob/main/config/core.config.toml) for a full example. #[derive(Debug, Clone, Serialize, Deserialize)] pub struct CoreConfig { // =========== diff --git a/client/core/rs/src/entities/config/periphery.rs b/client/core/rs/src/entities/config/periphery.rs index 9e46bdf9b..a94f4f2ab 100644 --- a/client/core/rs/src/entities/config/periphery.rs +++ b/client/core/rs/src/entities/config/periphery.rs @@ -154,7 +154,7 @@ pub struct Env { /// # Periphery Configuration File /// -/// Refer to the [example file](https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml) for a full example. +/// Refer to the [example file](https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml) for a full example. #[derive(Debug, Clone, Deserialize)] pub struct PeripheryConfig { /// The port periphery will run on. diff --git a/client/core/rs/src/entities/server_template/aws.rs b/client/core/rs/src/entities/server_template/aws.rs index a7de38a95..cb293018a 100644 --- a/client/core/rs/src/entities/server_template/aws.rs +++ b/client/core/rs/src/entities/server_template/aws.rs @@ -127,7 +127,7 @@ apt upgrade -y curl -fsSL https://get.docker.com | sh systemctl enable docker.service systemctl enable containerd.service -curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py | HOME=/root python3 +curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py | HOME=/root python3 systemctl enable periphery.service") } diff --git a/client/core/rs/src/entities/server_template/hetzner.rs b/client/core/rs/src/entities/server_template/hetzner.rs index eb0028fd7..49b12a04c 100644 --- a/client/core/rs/src/entities/server_template/hetzner.rs +++ b/client/core/rs/src/entities/server_template/hetzner.rs @@ -121,7 +121,7 @@ runcmd: - curl -fsSL https://get.docker.com | sh - systemctl enable docker.service - systemctl enable containerd.service - - curl -sSL 'https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py' | HOME=/root python3 + - curl -sSL 'https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py' | HOME=/root python3 - systemctl enable periphery.service") } diff --git a/client/core/ts/src/types.ts b/client/core/ts/src/types.ts index f6dca94ba..603bff8cc 100644 --- a/client/core/ts/src/types.ts +++ b/client/core/ts/src/types.ts @@ -253,7 +253,7 @@ export interface BuildConfig { image_name?: string; /** * An extra tag put before the build version, for the image pushed to the repository. - * Eg. in image tag of `aarch64` would push to mbecker20/komodo:1.13.2-aarch64. + * Eg. in image tag of `aarch64` would push to moghtech/komodo:1.13.2-aarch64. * If this is empty, the image tag will just be the build version. * * Can be used in conjunction with `image_name` to direct multiple builds diff --git a/compose/compose.env b/compose/compose.env index d514f8ea5..08336cf1e 100644 --- a/compose/compose.env +++ b/compose/compose.env @@ -26,7 +26,7 @@ KOMODO_PASSKEY=a_random_passkey #=-------------------------=# ## Full variable list + descriptions are available here: -## 🦎 https://github.com/mbecker20/komodo/blob/main/config/core.config.toml 🦎 +## 🦎 https://github.com/moghtech/komodo/blob/main/config/core.config.toml 🦎 ## Note. Secret variables also support `${VARIABLE}_FILE` syntax to pass docker compose secrets. ## Docs: https://docs.docker.com/compose/how-tos/use-secrets/#examples @@ -111,7 +111,7 @@ KOMODO_HETZNER_TOKEN= # Alt: KOMODO_HETZNER_TOKEN_FILE #=------------------------------=# ## Full variable list + descriptions are available here: -## 🦎 https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml 🦎 +## 🦎 https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml 🦎 ## Periphery passkeys must include KOMODO_PASSKEY to authenticate. PERIPHERY_PASSKEYS=${KOMODO_PASSKEY} diff --git a/compose/mongo.compose.yaml b/compose/mongo.compose.yaml index 9e404ade3..2a3edce86 100644 --- a/compose/mongo.compose.yaml +++ b/compose/mongo.compose.yaml @@ -28,7 +28,7 @@ services: MONGO_INITDB_ROOT_PASSWORD: ${KOMODO_DB_PASSWORD} core: - image: ghcr.io/mbecker20/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest} + image: ghcr.io/moghtech/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: komodo.skip: # Prevent Komodo from stopping with StopAllContainers restart: unless-stopped @@ -59,7 +59,7 @@ services: ## Deploy Periphery container using this block, ## or deploy the Periphery binary with systemd using - ## https://github.com/mbecker20/komodo/tree/main/scripts + ## https://github.com/moghtech/komodo/tree/main/scripts periphery: image: ghcr.io/mbecker20/periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: @@ -82,7 +82,7 @@ services: - /proc:/proc ## Specify the Periphery agent root directory. ## Must be the same inside and outside the container, - ## or docker will get confused. See https://github.com/mbecker20/komodo/discussions/180. + ## or docker will get confused. See https://github.com/moghtech/komodo/discussions/180. ## Default: /etc/komodo. - ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} diff --git a/compose/postgres.compose.yaml b/compose/postgres.compose.yaml index 4a9ee10c8..facf25d54 100644 --- a/compose/postgres.compose.yaml +++ b/compose/postgres.compose.yaml @@ -43,7 +43,7 @@ services: - FERRETDB_POSTGRESQL_URL=postgres://postgres:5432/${KOMODO_DATABASE_DB_NAME:-komodo} core: - image: ghcr.io/mbecker20/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest} + image: ghcr.io/moghtech/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: komodo.skip: # Prevent Komodo from stopping with StopAllContainers restart: unless-stopped @@ -72,7 +72,7 @@ services: ## Deploy Periphery container using this block, ## or deploy the Periphery binary with systemd using - ## https://github.com/mbecker20/komodo/tree/main/scripts + ## https://github.com/moghtech/komodo/tree/main/scripts periphery: image: ghcr.io/mbecker20/periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: @@ -95,7 +95,7 @@ services: - /proc:/proc ## Specify the Periphery agent root directory. ## Must be the same inside and outside the container, - ## or docker will get confused. See https://github.com/mbecker20/komodo/discussions/180. + ## or docker will get confused. See https://github.com/moghtech/komodo/discussions/180. ## Default: /etc/komodo. - ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} diff --git a/compose/sqlite.compose.yaml b/compose/sqlite.compose.yaml index 825d4d8cc..d0c106c34 100644 --- a/compose/sqlite.compose.yaml +++ b/compose/sqlite.compose.yaml @@ -25,7 +25,7 @@ services: - FERRETDB_HANDLER=sqlite core: - image: ghcr.io/mbecker20/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest} + image: ghcr.io/moghtech/komodo:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: komodo.skip: # Prevent Komodo from stopping with StopAllContainers restart: unless-stopped @@ -54,7 +54,7 @@ services: ## Deploy Periphery container using this block, ## or deploy the Periphery binary with systemd using - ## https://github.com/mbecker20/komodo/tree/main/scripts + ## https://github.com/moghtech/komodo/tree/main/scripts periphery: image: ghcr.io/mbecker20/periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest} labels: @@ -77,7 +77,7 @@ services: - /proc:/proc ## Specify the Periphery agent root directory. ## Must be the same inside and outside the container, - ## or docker will get confused. See https://github.com/mbecker20/komodo/discussions/180. + ## or docker will get confused. See https://github.com/moghtech/komodo/discussions/180. ## Default: /etc/komodo. - ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} diff --git a/config/core.config.toml b/config/core.config.toml index 12789b7ee..0d92ee3ee 100644 --- a/config/core.config.toml +++ b/config/core.config.toml @@ -4,12 +4,12 @@ ## This is the offical "Default" config file for Komodo Core. ## It serves as documentation for the meaning of the fields. -## It is located at `https://github.com/mbecker20/komodo/blob/main/config/core.config.toml`. +## It is located at `https://github.com/moghtech/komodo/blob/main/config/core.config.toml`. ## All fields with a "Default" provided are optional. If they are ## left out of the file, the "Default" value will be used. -## This file is bundled into the official image, `ghcr.io/mbecker20/komodo`, +## This file is bundled into the official image, `ghcr.io/moghtech/komodo`, ## as the default config at `/config/config.toml`. ## Komodo can start with no external config file mounted. diff --git a/config/periphery.config.toml b/config/periphery.config.toml index e03a341eb..bf785243d 100644 --- a/config/periphery.config.toml +++ b/config/periphery.config.toml @@ -4,7 +4,7 @@ ## This is the offical "Default" config file for Komodo Periphery. ## It serves as documentation for the meaning of the fields. -## It is located at `https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml`. +## It is located at `https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml`. ## All fields with a "Default" provided are optional. If they are ## left out of the file, the "Default" value will be used. diff --git a/docsite/docs/build-images/builders.md b/docsite/docs/build-images/builders.md index c9efd6500..a116a9e4f 100644 --- a/docsite/docs/build-images/builders.md +++ b/docsite/docs/build-images/builders.md @@ -22,7 +22,7 @@ apt upgrade -y curl -fsSL https://get.docker.com | sh systemctl enable docker.service systemctl enable containerd.service -curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py | HOME=/root python3 +curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py | HOME=/root python3 systemctl enable periphery.service ``` diff --git a/docsite/docs/build-images/configuration.md b/docsite/docs/build-images/configuration.md index 9956bd14b..512aad7d3 100644 --- a/docsite/docs/build-images/configuration.md +++ b/docsite/docs/build-images/configuration.md @@ -9,7 +9,7 @@ Accounts / access tokens can be configured in either the [core config](../setup/ or in the [periphery config](../connect-servers.mdx#manual-install-steps---binaries). ### Repo configuration -To specify the git repo to build, just give it the name of the repo and the branch under *repo config*. The name is given like `mbecker20/komodo`, it includes the username / organization that owns the repo. +To specify the git repo to build, just give it the name of the repo and the branch under *repo config*. The name is given like `moghtech/komodo`, it includes the username / organization that owns the repo. Many repos are private, in this case an access token is needed by the building server. It can either come from a provider defined in the core configuration, diff --git a/docsite/docs/connect-servers.mdx b/docsite/docs/connect-servers.mdx index 8012dd5c8..e0ec353f1 100644 --- a/docsite/docs/connect-servers.mdx +++ b/docsite/docs/connect-servers.mdx @@ -7,29 +7,29 @@ Connecting a server to Komodo has 2 steps: ## Install Periphery -You can install Periphery as a systemd managed process, run it as a [docker container](https://github.com/mbecker20/komodo/pkgs/container/periphery), or do whatever you want with the binary. +You can install Periphery as a systemd managed process, run it as a [docker container](https://github.com/moghtech/komodo/pkgs/container/periphery), or do whatever you want with the binary. :::warning Allowing unintended access to the Periphery agent API is a security risk. Ensure to take appropriate measures to block access to the Periphery API, such as firewall rules on port `8120`. -Additionally, you can whitelist your Komodo Core IP address in the [Periphery config](https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml#L46), -and configure it to [only accept requests matching including your Core passkey](https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml#L51). +Additionally, you can whitelist your Komodo Core IP address in the [Periphery config](https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml#L46), +and configure it to [only accept requests matching including your Core passkey](https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml#L51). ::: ### Install the Periphery agent - systemd As root user: ```bash -curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py | python3 +curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py | python3 ``` Periphery can also be installed to run as the calling user, just note this comes with some additional configuration. ```bash -curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py | python3 - --user +curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py | python3 - --user ``` -You can find more information (and view the script) in the [readme](https://github.com/mbecker20/komodo/tree/main/scripts). +You can find more information (and view the script) in the [readme](https://github.com/moghtech/komodo/tree/main/scripts). :::info This script can be run multiple times without issue, and it won't change existing config after the first run. Just run it again after a Komodo version release, and it will update the periphery version. @@ -66,7 +66,7 @@ services: ## Optionally mount a path to store compose files # - /path/to/compose:/host/compose environment: - ## Full list: `https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml` + ## Full list: `https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml` ## Configure the same passkey given to Komodo Core (KOMODO_PASSKEY) PERIPHERY_PASSKEYS: your_core_passkey # Alt: PERIPHERY_PASSKEYS_FILE ## Adding IP here will ensure calling IP is in the list. (optional) @@ -88,9 +88,9 @@ volumes: ### Manual install steps - binaries -1. Download the periphery binary from the latest [release](https://github.com/mbecker20/komodo/releases). +1. Download the periphery binary from the latest [release](https://github.com/moghtech/komodo/releases). -2. Create and edit your config files, following the [config example](https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml). +2. Create and edit your config files, following the [config example](https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml). :::note See the [periphery config docs](https://docs.rs/komodo_client/latest/komodo_client/entities/config/periphery/index.html) @@ -142,15 +142,15 @@ Similarly, you can specify a base docker / github account pair, and extend them Quick download to `./komodo/periphery.config.toml`: ```bash -wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/config/periphery.config.toml +wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/config/periphery.config.toml ``` ```mdx-code-block import RemoteCodeFile from "@site/src/components/RemoteCodeFile"; ``` diff --git a/docsite/docs/development.md b/docsite/docs/development.md index b3be3613a..f0f7b09e1 100644 --- a/docsite/docs/development.md +++ b/docsite/docs/development.md @@ -4,7 +4,7 @@ If you are looking to contribute to Komodo, this page is a launching point for s ## Dependencies -Running Komodo from [source](https://github.com/mbecker20/komodo) requires either [Docker](https://www.docker.com/) (and can use the included [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers)), or can have the development dependencies installed locally: +Running Komodo from [source](https://github.com/moghtech/komodo) requires either [Docker](https://www.docker.com/) (and can use the included [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers)), or can have the development dependencies installed locally: * Backend (Core / Periphery APIs) * [Rust](https://www.rust-lang.org/) stable via [rustup installer](https://rustup.rs/) diff --git a/docsite/docs/setup/advanced.mdx b/docsite/docs/setup/advanced.mdx index 5731e98ea..1b11d811d 100644 --- a/docsite/docs/setup/advanced.mdx +++ b/docsite/docs/setup/advanced.mdx @@ -25,15 +25,15 @@ Configuration can still be passed in environment variables, and will take preced Quick download to `./komodo/core.config.toml`: ```bash -wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/config/core.config.toml +wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/config/core.config.toml ``` ```mdx-code-block import RemoteCodeFile from "@site/src/components/RemoteCodeFile"; ``` \ No newline at end of file diff --git a/docsite/docs/setup/mongo.mdx b/docsite/docs/setup/mongo.mdx index 61bf8b93d..b67c05e3a 100644 --- a/docsite/docs/setup/mongo.mdx +++ b/docsite/docs/setup/mongo.mdx @@ -2,8 +2,8 @@ 1. Copy `komodo/mongo.compose.yaml` and `komodo/compose.env` to your host: ```bash -wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/compose/mongo.compose.yaml && \ - wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/compose/compose.env +wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/mongo.compose.yaml && \ + wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env ``` 2. Edit the variables in `komodo/compose.env`. 3. Deploy: diff --git a/docsite/docs/setup/postgres.mdx b/docsite/docs/setup/postgres.mdx index 988d47091..60fbb46cd 100644 --- a/docsite/docs/setup/postgres.mdx +++ b/docsite/docs/setup/postgres.mdx @@ -2,8 +2,8 @@ 1. Copy `komodo/postgres.compose.yaml` and `komodo/compose.env` to your host: ```bash -wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/compose/postgres.compose.yaml && \ - wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/compose/compose.env +wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/postgres.compose.yaml && \ + wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env ``` 2. Edit the variables in `komodo/compose.env`. 3. Deploy: diff --git a/docsite/docs/setup/sqlite.mdx b/docsite/docs/setup/sqlite.mdx index 8a75c2514..33f98d99b 100644 --- a/docsite/docs/setup/sqlite.mdx +++ b/docsite/docs/setup/sqlite.mdx @@ -8,8 +8,8 @@ are ignored when using Sqlite, and the database port is not exposed publicly by 1. Copy `komodo/sqlite.compose.yaml` and `komodo/compose.env` to your host: ```bash -wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/compose/sqlite.compose.yaml && \ - wget -P komodo https://raw.githubusercontent.com/mbecker20/komodo/main/compose/compose.env +wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/sqlite.compose.yaml && \ + wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env ``` 2. Edit the variables in `komodo/compose.env`. 3. Deploy: diff --git a/docsite/docs/sync-resources.md b/docsite/docs/sync-resources.md index 1042034da..234c09184 100644 --- a/docsite/docs/sync-resources.md +++ b/docsite/docs/sync-resources.md @@ -209,7 +209,7 @@ tags = ["komodo"] server_id = "server-01" git_provider = "git.mogh.tech" # use an alternate git provider (default is github.com) git_account = "mbecker20" -repo = "mbecker20/komodo" +repo = "moghtech/komodo" # Run an action after the repo is pulled on_pull.path = "." on_pull.command = """ @@ -230,7 +230,7 @@ name = "resource-sync" [resource_sync.config] git_provider = "git.mogh.tech" # use an alternate git provider (default is github.com) git_account = "mbecker20" -repo = "mbecker20/komodo" +repo = "moghtech/komodo" resource_path = ["stacks.toml", "repos.toml"] ``` diff --git a/docsite/docs/version-upgrades.md b/docsite/docs/version-upgrades.md index f92ed43bb..26e138051 100644 --- a/docsite/docs/version-upgrades.md +++ b/docsite/docs/version-upgrades.md @@ -1,7 +1,7 @@ # Version Upgrades -Most version upgrades only require a redeployment of the Core container after pulling the latest version, and are fully backward compatible with the periphery clients, which may be updated later on as convenient. This is the default, and will be the case unless specifically mentioned in the [version release notes](https://github.com/mbecker20/komodo/releases). +Most version upgrades only require a redeployment of the Core container after pulling the latest version, and are fully backward compatible with the periphery clients, which may be updated later on as convenient. This is the default, and will be the case unless specifically mentioned in the [version release notes](https://github.com/moghtech/komodo/releases). Some Core API upgrades may change behavior such as building / cloning, and require updating the Periphery binaries to match the Core version before this functionality can be restored. This will be specifically mentioned in the release notes. -Additionally, some Core API upgrades may include database schema changes, and require a database migration. This can be accomplished by using the [komodo migrator](https://github.com/mbecker20/komodo/blob/main/bin/migrator/README.md) for the particular version upgrade before upgrading the Core API container. \ No newline at end of file +Additionally, some Core API upgrades may include database schema changes, and require a database migration. This can be accomplished by using the [komodo migrator](https://github.com/moghtech/komodo/blob/main/bin/migrator/README.md) for the particular version upgrade before upgrading the Core API container. \ No newline at end of file diff --git a/docsite/docusaurus.config.ts b/docsite/docusaurus.config.ts index 345bd2784..fe40f82e1 100644 --- a/docsite/docusaurus.config.ts +++ b/docsite/docusaurus.config.ts @@ -42,12 +42,12 @@ const config: Config = { docs: { sidebarPath: "./sidebars.ts", editUrl: - "https://github.com/mbecker20/komodo/tree/main/docsite", + "https://github.com/moghtech/komodo/tree/main/docsite", }, blog: { showReadingTime: true, editUrl: - "https://github.com/mbecker20/komodo/tree/main/docsite", + "https://github.com/moghtech/komodo/tree/main/docsite", }, theme: { customCss: "./src/css/custom.css", @@ -83,7 +83,7 @@ const config: Config = { position: "right", }, { - href: "https://github.com/mbecker20/komodo", + href: "https://github.com/moghtech/komodo", label: "Github", position: "right", }, diff --git a/docsite/src/components/ComposeAndEnv.tsx b/docsite/src/components/ComposeAndEnv.tsx index 36f1b35e7..c6e5f4db6 100644 --- a/docsite/src/components/ComposeAndEnv.tsx +++ b/docsite/src/components/ComposeAndEnv.tsx @@ -12,15 +12,15 @@ export default function ComposeAndEnv({ diff --git a/docsite/src/pages/index.tsx b/docsite/src/pages/index.tsx index b350b3be3..6c420c6b9 100644 --- a/docsite/src/pages/index.tsx +++ b/docsite/src/pages/index.tsx @@ -40,13 +40,13 @@ function HomepageHeader() { Github { if (!version) return null; return ( diff --git a/frontend/src/pages/login.tsx b/frontend/src/pages/login.tsx index a77b50fe9..a56ca697f 100644 --- a/frontend/src/pages/login.tsx +++ b/frontend/src/pages/login.tsx @@ -236,7 +236,7 @@ export const Login = () => { No login methods have been configured. See the