standardize env vars

This commit is contained in:
rebel onion 2025-06-21 16:47:01 -05:00
parent ba90cb927f
commit d64898107d
11 changed files with 57 additions and 48 deletions

View file

@ -7,20 +7,20 @@ services:
restart: unless-stopped
## https://komo.do/docs/connect-servers#configuration
environment:
PERIPHERY_ROOT_DIRECTORY: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}
- 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:-127.0.0.1}
- PERIPHERY_PASSKEYS=${PERIPHERY_PASSKEYS}
- PERIPHERY_ALLOWED_IPS=${PERIPHERY_ALLOWED_IPS:-127.0.0.1}
## Make server run over https
PERIPHERY_SSL_ENABLED: true
- PERIPHERY_SSL_ENABLED=true
## Specify whether to disable the terminals feature
## and disallow remote shell access (inside the Periphery container).
PERIPHERY_DISABLE_TERMINALS: false
- 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_INCLUDE_DISK_MOUNTS=/etc/hostname
# PERIPHERY_EXCLUDE_DISK_MOUNTS: /snap,/etc/repos
volumes:
## Mount external docker socket