mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
* Add webhooks page to docs * supports * supports * periphery Dockerfile * add comments. Remove unneeded default config * add FILE SYSTEM log * remove log * filter disks included in periphery disk report, on periphery side * dockerized periphery * all in one compose file docs * remove some unused deps
57 lines
2.0 KiB
YAML
57 lines
2.0 KiB
YAML
services:
|
|
monitor-core:
|
|
image: ghcr.io/mbecker20/monitor:latest ## use ghcr.io/mbecker20/monitor:latest-aarch64 for arm support
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- monitor-mongo
|
|
logging:
|
|
driver: local # enable log rotation by default. see `https://docs.docker.com/config/containers/logging/local/`
|
|
networks:
|
|
- monitor-network
|
|
ports:
|
|
- 9120:9120
|
|
extra_hosts: # allows for local periphery connection at "http://host.docker.internal:8120"
|
|
- host.docker.internal:host-gateway
|
|
environment: # https://github.com/mbecker20/monitor/blob/main/config_example/core.config.example.toml
|
|
MONITOR_HOST: https://demo.monitor.dev
|
|
MONITOR_TITLE: Monitor # Change the app title, displayed in the browser tab.
|
|
## MONGO
|
|
MONITOR_MONGO_ADDRESS: monitor-mongo:27017
|
|
MONITOR_MONGO_USERNAME: admin # match ones below
|
|
MONITOR_MONGO_PASSWORD: admin
|
|
## KEYS
|
|
MONITOR_PASSKEY: a_random_passkey # used to auth against periphery
|
|
MONITOR_WEBHOOK_SECRET: a_random_secret # used to authenticate incoming webhooks
|
|
MONITOR_JWT_SECRET: a_random_jwt_secret # Optional. If empty, will have to log in again on restart.
|
|
## AUTH
|
|
MONITOR_LOCAL_AUTH: true # the default is false.
|
|
# MONITOR_GITHUB_OAUTH_ENABLED: true # also support google oauth
|
|
# MONITOR_GITHUB_OAUTH_ID: your_oauth_id
|
|
# MONITOR_GITHUB_OAUTH_SECRET: your_oauth_secret
|
|
## AWS
|
|
# MONITOR_AWS_ACCESS_KEY_ID: your_aws_key_id
|
|
# MONITOR_AWS_SECRET_ACCESS_KEY: your_secret_access_key
|
|
## HETZNER
|
|
# MONITOR_HETZNER_TOKEN: your_hetzner_token
|
|
|
|
monitor-mongo:
|
|
image: mongo
|
|
command: --quiet # suppress mongo logs a bit
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: local
|
|
networks:
|
|
- monitor-network
|
|
ports:
|
|
- 27017:27017
|
|
volumes:
|
|
- db-data:/data/db
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: admin # change these
|
|
MONGO_INITDB_ROOT_PASSWORD: admin
|
|
|
|
volumes:
|
|
db-data:
|
|
|
|
networks:
|
|
monitor-network: {} |