Notes:
PHPServerMonitor 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.
Docker allows you to package an application with all of its dependencies into a standardized unit for software development.
More information :
This is the unofficial (updated when I can!) repository for PHPServerMonitor
I will update the repository every time there is a new version of PHPServerMonitor available
docker build --no-cache -t alwynpan/phpservermonitor:latest \
-t alwynpan/phpservermonitor:3.5.2 \
-f dockerfile/latest/Dockerfile .
To run this Docker image, the following configurations need to be set:
mysql3306psmpsmpsm_false2 mins10 secondsdocker run --name phpservermonitor -p 80:80 \
-e DATABASE_HOST=mysql \
-e DATABASE_PORT=3306 \
-e DATABASE_NAME=psm \
-e DATABASE_USER=psm \
-e DATABASE_PASSWORD=psm \
-e DATABASE_PREFIX=psm \
-e BASE_URL=http://localhost \
-e CHECK_INTERVAL=5 \
-e TIMEOUT=15 \
-e DEBUG=true \
-d quentinv/phpservermonitor:latest
version: '3.8'
services:
psm:
image: alwynpan/phpservermonitor:3.5.2
restart: always
ports:
- 80:80
depends_on:
- mysql
environment:
- DATABASE_HOST=mysql
- DATABASE_PORT=3306
- DATABASE_NAME=psm
- DATABASE_USER=psm
- DATABASE_PASSWORD=psm
- DATABASE_PREFIX=psm
- BASE_URL=http://localhost
- CHECK_INTERVAL=1
- TIMEOUT=15
- DEBUG=true
container_name: psm
mysql:
image: mysql:5.7
restart: always
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=top_secret
- MYSQL_DATABASE=psm
- MYSQL_USER=psm
- MYSQL_PASSWORD=psm
volumes:
- ./data/:/var/lib/mysql
container_name: mysql
Just head to http://your_url_or_ip, complete the admin user setup and you are good to go.
Content type
Image
Digest
Size
298.4 MB
Last updated
over 4 years ago
docker pull alwynpan/phpservermonitor