mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-06-27 16:57:05 +00:00
added monitor
This commit is contained in:
parent
f6f1decc09
commit
1b6923c89e
4
.gitignore
vendored
4
.gitignore
vendored
@ -51,12 +51,10 @@ immich/library/
|
|||||||
immich/postgres/
|
immich/postgres/
|
||||||
esphome/config/
|
esphome/config/
|
||||||
organizr/config/
|
organizr/config/
|
||||||
<<<<<<< HEAD
|
|
||||||
audiobookshelf/audiobooks/
|
audiobookshelf/audiobooks/
|
||||||
audiobookshelf/config/
|
audiobookshelf/config/
|
||||||
audiobookshelf/metadata/
|
audiobookshelf/metadata/
|
||||||
audiobookshelf/podcasts/
|
audiobookshelf/podcasts/
|
||||||
system-monitoring/grafana/storage/
|
system-monitoring/grafana/storage/
|
||||||
=======
|
|
||||||
homepage/homepage-config/logs/
|
homepage/homepage-config/logs/
|
||||||
>>>>>>> 39bab5a (added homepage logs to gitignore)
|
monitor/db-data/
|
||||||
|
@ -51,6 +51,7 @@ The host networking driver only works on Linux hosts, but is availabe as a beta
|
|||||||
| [MariaDB](https://mariadb.org/) | 3306 |
|
| [MariaDB](https://mariadb.org/) | 3306 |
|
||||||
| [Mealie](https://mealie.io/) | [9925](http://localhost:9925) |
|
| [Mealie](https://mealie.io/) | [9925](http://localhost:9925) |
|
||||||
| [MeTube](https://github.com/alexta69/metube) | [8088](http://localhost:8088) |
|
| [MeTube](https://github.com/alexta69/metube) | [8088](http://localhost:8088) |
|
||||||
|
| [Monitor](https://docs.monitor.dev/) | [9120](http://localhost:9120) 27017 (mongodb) |
|
||||||
| [moodle](https://hub.docker.com/r/bitnami/moodle) | [8089](http://localhost:8089) |
|
| [moodle](https://hub.docker.com/r/bitnami/moodle) | [8089](http://localhost:8089) |
|
||||||
| [MySpeed](https://github.com/gnmyt/myspeed) | [5216](http://localhost:5216) |
|
| [MySpeed](https://github.com/gnmyt/myspeed) | [5216](http://localhost:5216) |
|
||||||
| [MySQL 8](https://www.mysql.com/) | 3308 |
|
| [MySQL 8](https://www.mysql.com/) | 3308 |
|
||||||
@ -108,5 +109,5 @@ The host networking driver only works on Linux hosts, but is availabe as a beta
|
|||||||
* [r/homelab](https://www.reddit.com/r/homelab/)
|
* [r/homelab](https://www.reddit.com/r/homelab/)
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
- monitor -> Homepage
|
||||||
|
|
||||||
|
65
monitor/compose.yml
Normal file
65
monitor/compose.yml
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# https://docs.monitor.dev/
|
||||||
|
# https://demo.monitor.dev/
|
||||||
|
# Build and deployment system
|
||||||
|
|
||||||
|
name: monitor
|
||||||
|
|
||||||
|
services:
|
||||||
|
monitor-core:
|
||||||
|
container_name: monitor
|
||||||
|
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/`
|
||||||
|
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: http://localhost:9120
|
||||||
|
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
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
monitor-mongo:
|
||||||
|
container_name: monitor_db
|
||||||
|
image: mongo
|
||||||
|
command: --quiet # suppress mongo logs a bit
|
||||||
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: local
|
||||||
|
ports:
|
||||||
|
- 27017:27017
|
||||||
|
volumes:
|
||||||
|
- ./db-data:/data/db
|
||||||
|
environment:
|
||||||
|
MONGO_INITDB_ROOT_USERNAME: admin # change these
|
||||||
|
MONGO_INITDB_ROOT_PASSWORD: admin
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user