From 43912e8a63631cbcd457c02d1c04710af69a5702 Mon Sep 17 00:00:00 2001 From: rebel onion <87634197+rebelonion@users.noreply.github.com> Date: Sat, 14 Jun 2025 13:27:24 -0500 Subject: [PATCH] move periphery to root --- .../compose.yaml | 1 + komodo-periphery/periphery.compose.yaml | 37 ------------------- 2 files changed, 1 insertion(+), 37 deletions(-) rename auth-docker/komodo-periphery/periphery.compose.yaml => komodo-periphery/compose.yaml (95%) delete mode 100644 komodo-periphery/periphery.compose.yaml diff --git a/auth-docker/komodo-periphery/periphery.compose.yaml b/komodo-periphery/compose.yaml similarity index 95% rename from auth-docker/komodo-periphery/periphery.compose.yaml rename to komodo-periphery/compose.yaml index d108f91..0652f6a 100644 --- a/auth-docker/komodo-periphery/periphery.compose.yaml +++ b/komodo-periphery/compose.yaml @@ -9,6 +9,7 @@ services: PERIPHERY_ROOT_DIRECTORY: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} ## Pass the same passkey as used by the Komodo Core connecting to this Periphery agent. PERIPHERY_PASSKEYS: ${PERIPHERY_PASSKEYS} + PERIPHERY_ALLOWED_IPS: ${PERIPHERY_ALLOWED_IPS:-0.0.0.0/0} ## Make server run over https PERIPHERY_SSL_ENABLED: true ## Specify whether to disable the terminals feature diff --git a/komodo-periphery/periphery.compose.yaml b/komodo-periphery/periphery.compose.yaml deleted file mode 100644 index d108f91..0000000 --- a/komodo-periphery/periphery.compose.yaml +++ /dev/null @@ -1,37 +0,0 @@ -services: - periphery: - image: ghcr.io/moghtech/komodo-periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest} - labels: - komodo.skip: # Prevent Komodo from stopping with StopAllContainers - restart: unless-stopped - ## https://komo.do/docs/connect-servers#configuration - environment: - PERIPHERY_ROOT_DIRECTORY: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} - ## Pass the same passkey as used by the Komodo Core connecting to this Periphery agent. - PERIPHERY_PASSKEYS: ${PERIPHERY_PASSKEYS} - ## Make server run over https - PERIPHERY_SSL_ENABLED: true - ## Specify whether to disable the terminals feature - ## and disallow remote shell access (inside the Periphery container). - PERIPHERY_DISABLE_TERMINALS: false - ## If the disk size is overreporting, can use one of these to - ## whitelist / blacklist the disks to filter them, whichever is easier. - ## Accepts comma separated list of paths. - ## Usually whitelisting just /etc/hostname gives correct size for single root disk. - PERIPHERY_INCLUDE_DISK_MOUNTS: /etc/hostname - # PERIPHERY_EXCLUDE_DISK_MOUNTS: /snap,/etc/repos - volumes: - ## Mount external docker socket - - /var/run/docker.sock:/var/run/docker.sock - ## Allow Periphery to see processes outside of container - - /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/moghtech/komodo/discussions/180. - ## Default: /etc/komodo. - - ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo} - ## If periphery is being run remote from the core server, ports need to be exposed - ports: - - 8120:8120 - ## If you want to use a custom periphery config file, use command to pass it to periphery. - #command: periphery --config-path ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/periphery.config.toml \ No newline at end of file