Status page of services managed by Sofía Aritz
database | ||
examples | ||
public | ||
src | ||
templates | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
package.json | ||
README.md | ||
tsconfig.json |
Status Page
This is a simple way to create customizable status pages.
Usage
With Docker Compose (Recommended)
- Copy the examples/docker-compose.yml file inside an empty directory.
- Create a
database/
directory and add adatabase.json
file following the example database: database/example.json5.- Note: This example may not be up-to-date, if that's the case, please open a PR or issue and I'll take care of it.
- Note: The schema is always available at src/db.ts.
- (Optional) If you want to add additional styles to make changes on top of the default stylesheet do the following:
- Uncomment the lines of the
docker-compose.yml
. - Create a
styles/
directory. - Create your stylesheet inside the
styles/
directory:exampleStyle.css
. - Add
exampleStyle
to theADDITIONAL_STYLES
environment variable. - Note: This doesn't overwrite the default styles, if you want to do that, create a volume that points to
/home/bun/app/public/
. Warning: Unexpected things might happen if you overwrite thepublic
folder.
- Uncomment the lines of the
- Run
docker compose up -d
Manually
- Clone the repository.
- Add a
database.json
file following the example database: database/example.json5.- Note: This example may not be up-to-date, if that's the case, please open a PR or issue and I'll take care of it.
- Note: The schema is always available at src/db.ts.
- (Optional) If you want to add additional styles to make changes on top of the default stylesheet do the following:
- Create your stylesheet inside the
public/additional/
directory:exampleStyle.css
. - Add
exampleStyle
to theADDITIONAL_STYLES
environment variable. - Note: This doesn't overwrite the default styles, if you want to do that, overwrite the public/style.css file.
- Create your stylesheet inside the
- Run
bun start
.