komodo periphery
This commit is contained in:
33
komodo/.env
Normal file
33
komodo/.env
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
#=------------------------------=#
|
||||||
|
#= Komodo Periphery Environment =#
|
||||||
|
#=------------------------------=#
|
||||||
|
KOMODO_PASSKEY=a_random_passkey
|
||||||
|
|
||||||
|
## Full variable list + descriptions are available here:
|
||||||
|
## 🦎 https://github.com/moghtech/komodo/blob/main/config/periphery.config.toml 🦎
|
||||||
|
|
||||||
|
## Specify the root directory used by Periphery agent.
|
||||||
|
PERIPHERY_ROOT_DIRECTORY=/etc/komodo
|
||||||
|
|
||||||
|
## Periphery passkeys must include KOMODO_PASSKEY to authenticate.
|
||||||
|
PERIPHERY_PASSKEYS=${KOMODO_PASSKEY}
|
||||||
|
|
||||||
|
## Specify whether to disable the terminals feature
|
||||||
|
## and disallow remote shell access (inside the Periphery container).
|
||||||
|
PERIPHERY_DISABLE_TERMINALS=false
|
||||||
|
|
||||||
|
## Enable SSL using self signed certificates.
|
||||||
|
## Connect to Periphery at https://address:8120.
|
||||||
|
PERIPHERY_SSL_ENABLED=true
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
PERIPHERY_INCLUDE_DISK_MOUNTS=/etc/hostname
|
||||||
|
# PERIPHERY_EXCLUDE_DISK_MOUNTS=/snap,/etc/repos
|
||||||
|
|
||||||
|
## Prettier logging with empty lines between logs
|
||||||
|
PERIPHERY_LOGGING_PRETTY=false
|
||||||
|
## More human readable logging of startup config (multi-line)
|
||||||
|
PERIPHERY_PRETTY_STARTUP_CONFIG=false
|
||||||
28
komodo/docker-compose.yml
Normal file
28
komodo/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
services:
|
||||||
|
## Deploy Periphery container using this block,
|
||||||
|
## or deploy the Periphery binary with systemd using
|
||||||
|
## https://github.com/moghtech/komodo/tree/main/scripts
|
||||||
|
periphery:
|
||||||
|
image: ghcr.io/moghtech/komodo-periphery:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
|
||||||
|
labels:
|
||||||
|
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: ./.env
|
||||||
|
ports:
|
||||||
|
- 8120:8120
|
||||||
|
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}
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
# Postgres
|
||||||
|
postgres-data:
|
||||||
|
# FerretDB
|
||||||
|
ferretdb-state:
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
[Stats]
|
[Stats]
|
||||||
AllStats=@Variant(\0\0\0\x1c\0\0\0\x2\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0\x44\0L\0\0\0\x4\0\0\t\x14\x1ak\xe9\xfe\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0U\0L\0\0\0\x4\0\0R\x10\x46L\xcf\xe5)
|
AllStats=@Variant(\0\0\0\x1c\0\0\0\x2\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0\x44\0L\0\0\0\x4\0\0\t\x17\x91_\x84\xae\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0U\0L\0\0\0\x4\0\0R\x1a\x8a`\xe\xf0)
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ Accepted=true
|
|||||||
MigrationVersion=8
|
MigrationVersion=8
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Cookies=@Invalid()
|
|
||||||
PortForwardingEnabled=false
|
PortForwardingEnabled=false
|
||||||
Proxy\HostnameLookupEnabled=false
|
Proxy\HostnameLookupEnabled=false
|
||||||
Proxy\Profiles\BitTorrent=true
|
Proxy\Profiles\BitTorrent=true
|
||||||
|
|||||||
Reference in New Issue
Block a user