{"id":31563434,"url":"https://github.com/fosterg4/phpmon","last_synced_at":"2026-02-16T10:34:45.941Z","repository":{"id":129785294,"uuid":"295363968","full_name":"FosterG4/phpmon","owner":"FosterG4","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-14T09:13:36.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T04:59:30.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FosterG4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-14T09:13:25.000Z","updated_at":"2020-09-14T09:13:41.000Z","dependencies_parsed_at":"2023-04-27T11:01:17.068Z","dependency_job_id":null,"html_url":"https://github.com/FosterG4/phpmon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FosterG4/phpmon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterG4%2Fphpmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterG4%2Fphpmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterG4%2Fphpmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterG4%2Fphpmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FosterG4","download_url":"https://codeload.github.com/FosterG4/phpmon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FosterG4%2Fphpmon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29506127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-05T04:59:09.646Z","updated_at":"2026-02-16T10:34:45.896Z","avatar_url":"https://github.com/FosterG4.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# PHPServerMonitor in Docker (Last version 3.5.2)\n\n### Last update : 2020/09/09 . Created repository with version 3.5.2\n#### Please open issues on [github](https://github.com/Quentinvarquet/docker-phpservermonitor/issues)\n\n### PHPServerMonitor\n\n[PHPServerMonitor](http://www.phpservermonitor.org/) is a script that checks whether your websites and servers are up and running. It comes with a web based user interface where you can manage your services and websites, and you can manage users for each server with a mobile number and email address.\n\n### Docker\n\n[Docker](https://www.docker.com/) allows you to package an application with all of its dependencies into a standardized unit for software development.\n\nMore information : \n\n* [What is docker](https://www.docker.com/what-docker)\n* [How to Create a Docker Business Case](https://www.brianchristner.io/how-to-create-a-docker-business-case/)\n\n### Information \u0026 Build\n\nThis is the official repository for PHPServerMonitor\nIt will be updated every time there is a new version of PHPServerMonitor available, or you can build yourself with.\n\n```\n## Build and Deploy PHPServerMonitor with Docker\n\n# Working Dir\nmkdir -p \"/tmp/php-server-monitor\"\ncd \"/tmp/php-server-monitor\"\n\n# Clone Git Repo\ngit clone https://github.com/phpservermon/phpservermon.git phpservermonitor\ncd phpservermonitor/\n\n# Build Docker Image\ndocker build --no-cache \\\n  --tag \"phpservermonitor:3.5.2\" \\\n  --tag \"phpservermonitor:latest\" \\\n  --file Dockerfile .\n```\n\n\n## Option 1 (recommended): Deploy Container Stack w/ Docker-Compose \u0026 Random Passwords\n\n```\n# Generate Random Passwords\nexport \"MYSQL_ROOT_PASSWORD=$(cat /dev/urandom | LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\" \"MYSQL_PASSWORD=$(cat /dev/urandom | LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\"\n\n# Deploy with Docker-Compose\ndocker-compose up -d\n```\n\n## Option 2: Deploy Seperated Container w/ Docker-Compose \u0026 Random Passwords\n\n```\n# Start Containers w/ Random Passwords\nexport \"MYSQL_ROOT_PASSWORD=$(cat /dev/urandom | LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\" \"MYSQL_PASSWORD=$(cat /dev/urandom | LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\"\n\n# phpservermonitor\ndocker run -d --name phpservermonitor \\\n  --restart always \\\n  --link phpservermonitor_mariadb \\\n  -v /sessions \\\n  --dns=192.168.3.8 \\\n  -p 8080:80 \\\n  -e TIME_ZONE='Europe/Amsterdam' \\\n  -e PSM_REFRESH_RATE_SECONDS=15 \\\n  -e PSM_AUTO_CONFIGURE=true \\\n  -e MYSQL_HOST=database \\\n  -e MYSQL_USER=phpservermonitor \\\n  -e MYSQL_PASSWORD=${MYSQL_PASSWORD} \\\n  -e MYSQL_DATABASE=phpservermonitor \\\n  -e MYSQL_DATABASE_PREFIX=psm_ \\\n  phpservermonitor:latest\n\n# phpservermonitor_mariadb\ndocker run -d --name phpservermonitor_mariadb \\\n  --restart always \\\n  -e MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} \\\n  -e MYSQL_USER=phpservermonitor \\\n  -e MYSQL_PASSWORD=${MYSQL_PASSWORD} \\\n  -e MYSQL_DATABASE=phpservermonitor \\\n  mariadb\n```\n\n#### Database Configuration\n\nConfiguration should be automatic if the envirmental varable is set `PSM_AUTO_CONFIGURE=true`. Otherwise the configuration window should be prepopulated to the following.\n\n* **Database Host:** database\n* **Database Name:** phpservermonitor\n* **Database User:** phpservermonitor\n* **Data Password:** YOUR_PASSWORD\n* **Table Previx:** psm_\n\n-----\n\n## PING check\nOn Windows machines the PING will be checked using socket.\nFor all other machines this will be checked using exec() and the terminal PING command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffosterg4%2Fphpmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffosterg4%2Fphpmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffosterg4%2Fphpmon/lists"}