migrate to compose-projects folder and init repo
This commit is contained in:
47
scrutiny/docker-compose.yml
Normal file
47
scrutiny/docker-compose.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
networks:
|
||||
monitoring: # A common network for all monitoring services to communicate into
|
||||
# external: true
|
||||
# notifications: # To Gotify or another Notification service
|
||||
# external: true
|
||||
|
||||
services:
|
||||
influxdb:
|
||||
container_name: scrutiny-influxdb
|
||||
image: influxdb:2.1-alpine
|
||||
ports:
|
||||
- 8086:8086
|
||||
volumes:
|
||||
- ./config/influxdb2/db:/var/lib/influxdb2
|
||||
- ./config/influxdb2/config:/etc/influxdb2
|
||||
environment:
|
||||
- DOCKER_INFLUXDB_INIT_MODE=setup
|
||||
- DOCKER_INFLUXDB_INIT_USERNAME=Admin
|
||||
- DOCKER_INFLUXDB_INIT_PASSWORD=asdf1234
|
||||
- DOCKER_INFLUXDB_INIT_ORG=homelab
|
||||
- DOCKER_INFLUXDB_INIT_BUCKET=scrutiny
|
||||
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=3249085v098scnm#386
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
scrutiny:
|
||||
container_name: scrutiny
|
||||
image: ghcr.io/analogj/scrutiny:master-web
|
||||
ports:
|
||||
- 8081:8080
|
||||
volumes:
|
||||
- ./config/scrutiny/config:/opt/scrutiny/config
|
||||
environment:
|
||||
- SCRUTINY_WEB_INFLUXDB_HOST=influxdb
|
||||
- SCRUTINY_WEB_INFLUXDB_PORT=8086
|
||||
- SCRUTINY_WEB_INFLUXDB_TOKEN=3249085v098scnm#386
|
||||
- SCRUTINY_WEB_INFLUXDB_ORG=homelab
|
||||
- SCRUTINY_WEB_INFLUXDB_BUCKET=scrutiny
|
||||
# Optional but highly recommended to notify you in case of a problem
|
||||
- SCRUTINY_NOTIFY_URLS=["http://http://192.168.1.202:9898/SMART"]
|
||||
depends_on:
|
||||
- influxdb
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
# - notifications
|
||||
- monitoring
|
||||
Reference in New Issue
Block a user