This commit is contained in:
2026-02-07 15:08:20 +00:00
parent 3620c8b258
commit 9b99b4c4d0
3 changed files with 1 additions and 26 deletions

61
docker-compose.yml Normal file
View File

@@ -0,0 +1,61 @@
services:
komodo-periphery:
image: ghcr.io/moghtech/komodo-periphery
container_name: komodo-periphery
privileged: true
hostname: ${HOSTNAME} # Required so komodo-periphery is named after the host
labels:
komodo.skip: # Prevent Komodo from stopping with StopAllContainers
restart: unless-stopped
ports:
- 8120:8120
volumes:
- /proc:/proc:ro
- /var/run/docker.sock:/var/run/docker.sock:z
- /var/docker/.supporting-services/komodo:/var/docker/.supporting-services/komodo
environment:
PERIPHERY_ROOT_DIRECTORY: /var/docker/.supporting-services/komodo
PERIPHERY_PASSKEYS: a_random_passkey
PERIPHERY_SSL_ENABLED: true
PERIPHERY_DISABLE_TERMINALS: false
telegraf:
image: telegraf
container_name: telegraf
restart: unless-stopped
privileged: true
user: telegraf:985 # make telegraf run with docker group (985) to access docker socket
hostname: ${HOSTNAME} # picks up the hostname of komodo-periphery
volumes:
- ${DROOT}/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
# Add host fs
- /:/hostfs:ro
# Add host net specifically
- /proc/net:/hostfs/proc/net
# Add host docker
- /var/run/docker.sock:/var/run/docker.sock:z
environment:
- HOST_MOUNT_PREFIX=/hostfs
- HOST_PROC=/hostfs/proc
certbot:
image: git.mrmeeb.stream/mrmeeb/certbot-cron:latest
container_name: certbot
restart: unless-stopped
ports:
- 80:80
volumes:
- ${DROOT}/certbot:/config
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=Europe/London
- APPRISE_URL=${CERTBOT_DISCORD_WEBHOOK}
- NOTIFY_ON_FAILURE=true
- EMAIL=admin@mrmeeb.stream
- CERT_COUNT=1
- DOMAINS=${HOSTNAME}.internal,${HOSTNAME}
- PLUGIN=standalone
- CUSTOM_CA=mrmeeb.pem
- CUSTOM_CA_SERVER=https://ca.internal/acme/acme/directory