feat(service): add Observium service (#5613)
This commit is contained in:
BIN
public/svgs/observium.webp
Normal file
BIN
public/svgs/observium.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
53
templates/compose/observium.yaml
Normal file
53
templates/compose/observium.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
# documentation: https://docs.observium.org/
|
||||
# slogan: Observium is a comprehensive network monitoring platform designed to deliver powerful monitoring capabilities, combined with an elegant and intuitive user interface.
|
||||
# tags: networking, monitoring
|
||||
# logo: svgs/observium.webp
|
||||
# port: 80
|
||||
|
||||
services:
|
||||
observium:
|
||||
image: 'mbixtech/observium:latest'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- 'observium-logs:/opt/observium/logs'
|
||||
- 'observium-rrd:/opt/observium/rrd'
|
||||
environment:
|
||||
- 'SERVICE_FQDN_OBSERVIUM=${SERVICE_FQDN_OBSERVIUM}'
|
||||
- 'OBSERVIUM_ADMIN_PASS=${SERVICE_PASSWORD_OBSERVIUMADMIN}'
|
||||
- 'OBSERVIUM_ADMIN_USER=${SERVICE_USER_OBSERVIUMADMIN}'
|
||||
- 'OBSERVIUM_DB_HOST=db'
|
||||
- 'OBSERVIUM_DB_NAME=observium'
|
||||
- 'OBSERVIUM_DB_PASS=${SERVICE_PASSWORD_MARIADB}'
|
||||
- 'OBSERVIUM_DB_USER=${SERVICE_USER_MARIADB}'
|
||||
depends_on:
|
||||
- db
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- '-f'
|
||||
- 'http://localhost/'
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
db:
|
||||
image: 'mariadb:lts'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- 'db-data:/var/lib/mysql'
|
||||
environment:
|
||||
- 'MARIADB_ROOT_PASSWORD=${SERVICE_PASSWORD_MARIADBROOT}'
|
||||
- 'MARIADB_USER=${SERVICE_USER_MARIADB}'
|
||||
- 'MARIADB_PASSWORD=${SERVICE_PASSWORD_MARIADB}'
|
||||
- 'MARIADB_DATABASE=observium'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- healthcheck.sh
|
||||
- '--connect'
|
||||
- '--innodb_initialized'
|
||||
start_period: 10s
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
Reference in New Issue
Block a user