Commit be9d6f22 authored by Felix Bartels's avatar Felix Bartels

initial commit

Signed-off-by: Felix Bartels's avatarFelix Bartels <felix@host-consultants.de>
parents
.git
.gitignore
.dockerignore
node_modules
{
"id": "com.github.statping",
"version": "0.0.1",
"healthCheckPath": "/health",
"httpPort": 8080,
"addons": {
"localstorage": {},
"postgresql": {}
},
"manifestVersion": 2,
"postInstallMessage": "file://POSTINSTALL.md"
}
# TODO put version into tag
FROM statping/statping:v0.90.32 as statping
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
WORKDIR /app/data
EXPOSE 8080
ENV STATPING_DIR=/app/data
COPY --from=statping /usr/local/bin/statping /usr/local/bin/statping
COPY --from=statping /usr/local/bin/sass /usr/local/bin/sass
COPY start.sh /app/pkg/
CMD [ "/app/pkg/start.sh" ]
No integration into the cloudron user management
login with the user admin and password admin and change the password after your login
Statping will automatically set up some demo data. just delete it and add your own.
TODO
- [ ] add sass for style changes (the current binary does not work)
#!/bin/sh
set -x
export DB_CONN=postgres
export DB_HOST=$CLOUDRON_POSTGRESQL_HOST
export DB_PORT=$CLOUDRON_POSTGRESQL_PORT
export DB_USER=$CLOUDRON_POSTGRESQL_USERNAME
export DB_PASS=$CLOUDRON_POSTGRESQL_PASSWORD
export DB_DATABASE=$CLOUDRON_POSTGRESQL_DATABASE
exec /usr/local/bin/statping
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