Komodo initial commit
This commit is contained in:
39
docker/compose/komodo-periphery.yaml
Normal file
39
docker/compose/komodo-periphery.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
secrets:
|
||||
komodo_passkey:
|
||||
file: ${SECRETSDIR}/komodo/komodo_passkey
|
||||
services:
|
||||
## Deploy Periphery container using this block,
|
||||
## or deploy the Periphery binary with systemd using
|
||||
## https://github.com/mbecker20/komodo/tree/main/scripts
|
||||
periphery:
|
||||
container_name: ${KOMODO_PERTIPHERY_CONTAINER_NAME}
|
||||
image: ${KOMODO_PERTIPHERY_IMAGE}:${COMPOSE_KOMODO_IMAGE_TAG:-latest}
|
||||
restart: ${KOMODO_RESTART_POLICY}
|
||||
labels:
|
||||
- "komodo.skip=" # Prevent Komodo from stopping with StopAllContainers
|
||||
logging:
|
||||
driver: ${COMPOSE_LOGGING_DRIVER:-local}
|
||||
networks:
|
||||
- komodo
|
||||
env_file: ../env/komodo.env
|
||||
environment:
|
||||
PERIPHERY_REPO_DIR: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/repos
|
||||
PERIPHERY_STACK_DIR: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/stacks
|
||||
PERIPHERY_SSL_KEY_FILE: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/ssl/key.pem
|
||||
PERIPHERY_SSL_CERT_FILE: ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}/ssl/cert.pem
|
||||
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/mbecker20/komodo/discussions/180.
|
||||
## Default: /etc/komodo.
|
||||
- ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}
|
||||
secrets:
|
||||
- komodo_passkey
|
||||
#networks:
|
||||
# komodo: {}
|
||||
# proxy:
|
||||
# external: true
|
||||
Reference in New Issue
Block a user