Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(service): add Observium service (#5613)

Rustypredator12e139265e8a
diff --git a/public/svgs/observium.webp b/public/svgs/observium.webp
new file mode 100644
index 0000000000..ff48b3194e
Binary files /dev/null and b/public/svgs/observium.webp differ
diff --git a/templates/compose/observium.yaml b/templates/compose/observium.yaml
new file mode 100644
index 0000000000..9b3f0dc730
--- /dev/null
+++ b/templates/compose/observium.yaml
@@ -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