Commit 3eed5c64 authored by Johannes Zellner's avatar Johannes Zellner

Add meta data and do not use supervisor

parent 55ab4372
[1.0.0]
* Initial version
{
"id": "com.statping.cloudronapp",
"version": "0.0.1",
"version": "1.0.0",
"tagline": "Web and App Status Monitoring",
"healthCheckPath": "/health",
"configurePath": "/dashboard",
"tags": [ "monitor", "ping", "status", "uptime" ],
"httpPort": 8080,
"addons": {
"localstorage": {},
"postgresql": {}
},
"mediaLinks": [
"https://s3.amazonaws.com/cloudron-app-screenshots/io.cloudron.surfer/55ab437219ca4db50807705567d040428bd64d58/statping01.png",
"https://s3.amazonaws.com/cloudron-app-screenshots/io.cloudron.surfer/55ab437219ca4db50807705567d040428bd64d58/statping02.png"
],
"changelog": "file://CHANGELOG",
"description": "file://DESCRIPTION.md",
"manifestVersion": 2,
"postInstallMessage": "file://POSTINSTALL.md",
"icon": "file://logo.png"
......
This app packages Statping <upstream>0.90.50</upstream>
### Overview
An easy to use Status Page for your websites and applications.
Statping will automatically fetch the application and render a beautiful status page with tons of features for you to build an even better status page
### A Future-Proof Status Page
Statping strives to remain future-proof and remain intact if a failure is created.
Your Statping service should not be running on the same instance you're trying to monitor.
If your server crashes your Status Page should still remaining online to notify your users of downtime.
### Mobile App is Gorgeous
The Statping app is available on the App Store and Google Play for free.
The app will allow you to view services, receive notifications when a service is offline, update groups, users, services, messages, and more!
Start your own Statping server and then connect it to the app by scanning the QR code in settings.
### Custom SASS Styling
Statping will allow you to completely customize your Status Page using SASS styling with easy to use variables.
### Easy to use Dashboard
Having a straight forward dashboard makes Statping that much better.
Monitor your websites and applications with a basic HTTP GET request, or add a POST request with your own JSON to post to the endpoint.
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
EXPOSE 8080
ENV STATPING_DIR=/app/data
# add supervisor configs
RUN sed -e 's,^logfile=.*$,logfile=/run/supervisord.log,' -i /etc/supervisor/supervisord.conf
COPY supervisor-statping.conf /etc/supervisor/conf.d/
RUN apt-get update && \
apt-get install -y sass && \
rm -rf /var/cache/apt /var/lib/apt/lists
......
No integration into the cloudron user management
This app is pre-setup with an admin account. The initial credentials are:
login with the user admin and password admin and change the password after your login
**Username**: admin <br/>
**Password**: admin <br/>
Statping will automatically set up some demo data. just delete it and add your own.
Please change the admin password and email immediately.
#!/bin/sh
#!/bin/bash
set -x
set -eux
export DB_CONN=postgres
export DB_HOST=$CLOUDRON_POSTGRESQL_HOST
......@@ -8,17 +8,18 @@ export DB_PORT=$CLOUDRON_POSTGRESQL_PORT
export DB_USER=$CLOUDRON_POSTGRESQL_USERNAME
export DB_PASS=$CLOUDRON_POSTGRESQL_PASSWORD
export DB_DATABASE=$CLOUDRON_POSTGRESQL_DATABASE
export SAMPLE_DATA=false # do not install statping demo data
export SAMPLE_DATA=true # do not install statping demo data
export IS_DOCKER=true
export STATPING_DIR=/app/data
random_string() {
LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32
LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32
}
if [ ! -e /app/data/.env ]; then
cat <<-EOF > "/app/data/.env"
# Config file to load
NAME="Cloudron"
NAME="Statping"
DESCRIPTION="Status overview"
#USE_CDN=false
DISABLE_LOGS=false
......@@ -35,4 +36,5 @@ set +x
echo "=> Ensure permissions"
chown -R cloudron:cloudron /run /app/data
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i statping
echo "=> Start the statping"
exec /usr/local/bin/gosu cloudron:cloudron /app/pkg/statping
\ No newline at end of file
[program:statping]
command=/app/pkg/statping
user=cloudron
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment