forked from github-starred/komodo
mbecker20 -> moghtech
This commit is contained in:
@@ -13,7 +13,7 @@ version = "1.17.0-dev"
|
||||
edition = "2021"
|
||||
authors = ["mbecker20 <becker.maxh@gmail.com>"]
|
||||
license = "GPL-3.0-or-later"
|
||||
repository = "https://github.com/mbecker20/komodo"
|
||||
repository = "https://github.com/moghtech/komodo"
|
||||
homepage = "https://komo.do"
|
||||
|
||||
[workspace.dependencies]
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
// ===========
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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";
|
||||
|
||||
<RemoteCodeFile
|
||||
title="https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml"
|
||||
url="https://raw.githubusercontent.com/mbecker20/komodo/main/config/periphery.config.toml"
|
||||
title="https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml"
|
||||
url="https://raw.githubusercontent.com/moghtech/komodo/main/config/periphery.config.toml"
|
||||
language="toml"
|
||||
/>
|
||||
```
|
||||
|
||||
@@ -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/)
|
||||
|
||||
@@ -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";
|
||||
|
||||
<RemoteCodeFile
|
||||
title="https://github.com/mbecker20/komodo/blob/main/config/core.config.toml"
|
||||
url="https://raw.githubusercontent.com/mbecker20/komodo/main/config/core.config.toml"
|
||||
title="https://github.com/moghtech/komodo/blob/main/config/core.config.toml"
|
||||
url="https://raw.githubusercontent.com/moghtech/komodo/main/config/core.config.toml"
|
||||
language="toml"
|
||||
/>
|
||||
```
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"]
|
||||
```
|
||||
|
||||
|
||||
@@ -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.
|
||||
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.
|
||||
@@ -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",
|
||||
},
|
||||
|
||||
@@ -12,15 +12,15 @@ export default function ComposeAndEnv({
|
||||
<Tabs>
|
||||
<TabItem value={file_name}>
|
||||
<RemoteCodeFile
|
||||
title={`https://github.com/mbecker20/komodo/blob/main/compose/${file_name}`}
|
||||
url={`https://raw.githubusercontent.com/mbecker20/komodo/main/compose/${file_name}`}
|
||||
title={`https://github.com/moghtech/komodo/blob/main/compose/${file_name}`}
|
||||
url={`https://raw.githubusercontent.com/moghtech/komodo/main/compose/${file_name}`}
|
||||
language="yaml"
|
||||
/>
|
||||
</TabItem>
|
||||
<TabItem value="compose.env">
|
||||
<RemoteCodeFile
|
||||
title="https://github.com/mbecker20/komodo/blob/main/compose/compose.env"
|
||||
url="https://raw.githubusercontent.com/mbecker20/komodo/main/compose/compose.env"
|
||||
title="https://github.com/moghtech/komodo/blob/main/compose/compose.env"
|
||||
url="https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env"
|
||||
language="bash"
|
||||
/>
|
||||
</TabItem>
|
||||
|
||||
@@ -40,13 +40,13 @@ function HomepageHeader() {
|
||||
</Link>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="https://github.com/mbecker20/komodo"
|
||||
to="https://github.com/moghtech/komodo"
|
||||
>
|
||||
Github
|
||||
</Link>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="https://github.com/mbecker20/komodo#screenshots"
|
||||
to="https://github.com/moghtech/komodo#screenshots"
|
||||
style={{
|
||||
width: "100%",
|
||||
boxSizing: "border-box",
|
||||
|
||||
@@ -18,6 +18,6 @@ FROM scratch
|
||||
|
||||
COPY --from=builder /builder/frontend/dist /frontend
|
||||
|
||||
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
|
||||
2
frontend/public/client/types.d.ts
vendored
2
frontend/public/client/types.d.ts
vendored
@@ -257,7 +257,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
|
||||
|
||||
@@ -102,7 +102,7 @@ const Version = () => {
|
||||
if (!version) return null;
|
||||
return (
|
||||
<a
|
||||
href="https://github.com/mbecker20/komodo/releases"
|
||||
href="https://github.com/moghtech/komodo/releases"
|
||||
target="_blank"
|
||||
className="hidden lg:block"
|
||||
>
|
||||
|
||||
@@ -236,7 +236,7 @@ export const Login = () => {
|
||||
No login methods have been configured. See the
|
||||
<Button variant="link" className="text-sm py-0 px-1">
|
||||
<a
|
||||
href="https://github.com/mbecker20/komodo/blob/main/config/core.config.toml"
|
||||
href="https://github.com/moghtech/komodo/blob/main/config/core.config.toml"
|
||||
target="_blank"
|
||||
className="flex text-sm"
|
||||
>
|
||||
|
||||
36
readme.md
36
readme.md
@@ -23,29 +23,29 @@ there are no warranties. Use at your own risk.
|
||||
|
||||
## Links
|
||||
|
||||
- [periphery setup](https://github.com/mbecker20/komodo/blob/main/scripts/readme.md)
|
||||
- [roadmap](https://github.com/mbecker20/komodo/blob/main/roadmap.md)
|
||||
- [periphery setup](https://github.com/moghtech/komodo/blob/main/scripts/readme.md)
|
||||
- [roadmap](https://github.com/moghtech/komodo/blob/main/roadmap.md)
|
||||
|
||||
## Screenshots
|
||||
|
||||
### Light Theme
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
### Dark Theme
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
@@ -13,7 +13,7 @@ There's two ways to install periphery: `System` and `User`
|
||||
Note. Run this after switching to root user (eg `sudo su -`).
|
||||
|
||||
```sh
|
||||
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
|
||||
```
|
||||
|
||||
Will install to paths:
|
||||
@@ -26,7 +26,7 @@ Will install to paths:
|
||||
*Note*. The user running periphery must be a member of the docker group, in order to use the docker cli without sudo.
|
||||
|
||||
```sh
|
||||
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
|
||||
```
|
||||
|
||||
Will install to paths:
|
||||
@@ -63,5 +63,5 @@ to the current default.
|
||||
Example:
|
||||
|
||||
```sh
|
||||
curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py | python3 - --force-service-file
|
||||
curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py | python3 - --force-service-file
|
||||
```
|
||||
@@ -15,7 +15,7 @@ def load_version():
|
||||
return version
|
||||
|
||||
def load_latest_version():
|
||||
return json.load(urllib.request.urlopen("https://api.github.com/repos/mbecker20/komodo/releases/latest"))["tag_name"]
|
||||
return json.load(urllib.request.urlopen("https://api.github.com/repos/moghtech/komodo/releases/latest"))["tag_name"]
|
||||
|
||||
def uses_systemd():
|
||||
# First check if systemctl is an available command, then check if systemd is the init system
|
||||
@@ -75,7 +75,7 @@ def copy_binary(user_install, bin_dir, version):
|
||||
print("using x86_64 binary")
|
||||
|
||||
# download the binary to bin path
|
||||
print(os.popen(f'curl -sSL https://github.com/mbecker20/komodo/releases/download/{version}/{periphery_bin} > {bin_path}').read())
|
||||
print(os.popen(f'curl -sSL https://github.com/moghtech/komodo/releases/download/{version}/{periphery_bin} > {bin_path}').read())
|
||||
|
||||
# add executable permissions
|
||||
os.popen(f'chmod +x {bin_path}')
|
||||
@@ -94,7 +94,7 @@ def copy_config(config_dir):
|
||||
if not os.path.isdir(config_dir):
|
||||
os.makedirs(config_dir)
|
||||
|
||||
print(os.popen(f'curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/config/periphery.config.toml > {config_dir}/periphery.config.toml').read())
|
||||
print(os.popen(f'curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/config/periphery.config.toml > {config_dir}/periphery.config.toml').read())
|
||||
|
||||
def copy_service_file(home_dir, bin_dir, config_dir, service_dir, user_install):
|
||||
service_file = f'{service_dir}/periphery.service'
|
||||
|
||||
Reference in New Issue
Block a user