Sign inSign up

goldpulpy/status-page

By goldpulpy

•Updated 2 months ago

Simple Monitoring Platform for your infrastructure

Image
Networking
0

810

goldpulpy/status-page repository overview

⁠Overview

Status Page is a lightweight, self-hosted monitoring platform designed to provide real-time visibility into your infrastructure's health.

GitHub⁠

⁠Quick Start

version: "3.8"

services:
  status-page:
    image: goldpulpy/status-page:latest
    container_name: status-page-app
    environment:
      ADMIN_PATH: /admin
      ADMIN_USERNAME: admin
      ADMIN_PASSWORD: admin
      POSTGRES_HOST: postgres
      POSTGRES_USER: POSTGRES_USER
      POSTGRES_PASSWORD: POSTGRES_PASSWORD
      POSTGRES_DB: POSTGRES_DB
    ports:
      - 5000:5000
    restart: unless-stopped
    mem_limit: 512m
    networks:
      - status-page
    cpus: 0.5
    stop_grace_period: 30s
    depends_on:
      postgres:
        condition: service_healthy
    healthcheck:
      test:
        [
          "CMD-SHELL",
          "wget -qO- http://127.0.0.1:5000/health || exit 1",
        ]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s

  postgres:
    image: postgres:17-alpine
    container_name: status-page-postgres
    restart: unless-stopped
    environment:
      POSTGRES_USER: POSTGRES_USER
      POSTGRES_PASSWORD: POSTGRES_PASSWORD
      POSTGRES_DB: POSTGRES_DB
    volumes:
      - postgres_data:/var/lib/postgresql/data
    networks:
      - status-page
    mem_limit: 512m
    cpus: 0.5
    stop_grace_period: 30s
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  postgres_data:
    name: status-page-postgres

networks:
  status-page:
    name: status-page
    driver: bridge

⁠Environment Variables

⁠Application
VariableDefaultDescription
LOG_LEVELINFOLogging level (DEBUG, INFO, WARNING, etc.)
ENVIRONMENTproductionApp environment (development, production)
ORGANIZATION_NAMEOrgNameYour organization name
THEMEdefaultColor theme (default, modern, dark)
HOST0.0.0.0Bind address
PORT5000Internal application port
CONTAINER_PORT5000External Docker port

⁠Security
VariableDefaultDescription
HTTPSfalseEnable secure cookies and HSTS
ADMIN_PATH/adminAdmin panel URL path
ADMIN_USERNAMEadminAdmin username
ADMIN_PASSWORD-Required. Strong password
JWT_ISSUERStatusPageJWT issuer
JWT_EXPIRES_IN3600Token lifetime in seconds
JWT_ALGORITHMHS256JWT signing algorithm
COOKIE_KEYtokenCookie name for auth token

⁠Database
VariableDefaultDescription
POSTGRES_HOSTlocalhostDatabase host
POSTGRES_PORT5432Database port
POSTGRES_USER-Database user
POSTGRES_PASSWORD-Required. Strong password
POSTGRES_DB-Database name

⁠⚠️ Security Notice

DO NOT use these example credentials in production!

Before deploying:

  • Change ADMIN_PASSWORD to a strong password
  • Set secure POSTGRES_PASSWORD

Tag summary

Content type

Image

Digest

sha256:300a09d1d…

Size

45.3 MB

Last updated

2 months ago

docker pull goldpulpy/status-page