Go to file
Piotr Rogowski dc49a56784
Don't throw errors on users migration
2023-11-20 12:26:06 +01:00
.github Bump pocketbase, dependencies and go version (#18) 2023-11-20 11:43:32 +01:00
.vscode Bump pocketbase, dependencies and go version (#18) 2023-11-20 11:43:32 +01:00
migrations Don't throw errors on users migration 2023-11-20 12:26:06 +01:00
public Update logo 2022-12-24 21:20:41 +01:00
.dockerignore Enable CGO, build and publish Dockerfile 2022-11-09 21:14:38 +01:00
.editorconfig Dev stuff 2022-11-05 16:59:38 +01:00
.gitignore Bump pocketbase, dependencies and go version (#18) 2023-11-20 11:43:32 +01:00
.golangci.yml Exclude migrations from lint 2023-11-20 12:03:07 +01:00
.goreleaser.yaml Disable CGO 2022-11-09 21:56:57 +01:00
Dockerfile Bump pocketbase, dependencies and go version, add lints (#17) 2023-10-21 15:49:21 +02:00
LICENSE Initial commit 2022-11-05 15:13:58 +01:00
README.md Bump pocketbase, dependencies and go version (#18) 2023-11-20 11:43:32 +01:00
UPGRADE.md Update UPGRADE 2023-05-01 11:47:24 +02:00
docker-compose.yml Change repo name 2022-11-15 20:31:14 +01:00
go.mod Bump pocketbase, dependencies and go version (#18) 2023-11-20 11:43:32 +01:00
go.sum Bump pocketbase, dependencies and go version (#18) 2023-11-20 11:43:32 +01:00
main.go Switch to automigrations 2023-11-20 11:54:35 +01:00
pb_schema.json Switch to automigrations 2023-11-20 11:54:35 +01:00

README.md

HyperTuner

HyperTuner Cloud Backend

hypertuner.cloud

The best way to share your tunes and logs.


This is the backend for the HyperTuner Cloud. It's based on PocketBase.

This repository

  • the source code of the HyperTuner Cloud backend that extends PocketBase.
  • database schema
  • configurations
  • deployment scripts / Docker and docker compose files
  • migration scripts and guides

Setting up your instance

Use provider Docker image or just grab the binary from the Releases page.

./cloud-backend serve

This will create pb_data directory where all the data will be stored (SQLite, uploaded files and metadata).

Now you can access the admin UI at: https://your-instance.com/_/.

Docker image

https://hub.docker.com/r/karniv001/hypertuner-cloud-backend

docker pull karniv001/hypertuner-cloud-backend:1.3.6

Upgrading

Warning Some versions will contain breaking changes!

If you are upgrading from a previous version, please read the UPGRADE.md file.

Application name and URL

Located in admin UI: Settings -> Application.

  • Application name - the name of your application
  • Application URL - the URL of your frontend application

Mail settings

Located in the admin UI: Settings -> Mailer settings.

  • Verification email ACTION URL:
{APP_URL}/#/auth/email-verification/{TOKEN}
  • Password reset ACTION URL:
{APP_URL}/#/auth/reset-password-confirmation/{TOKEN}

OAuth2 settings

For every OAuth2 provider, you need to set the following redirect URLs:

https://{FRONTEND-URL}/?redirect=oauth&provider=google
https://{FRONTEND-URL}/?redirect=oauth&provider=github
https://{FRONTEND-URL}/?redirect=oauth&provider=facebook

Loading schema

Copy/load pb_schema.json to Settings -> Sync -> Import collections in the admin UI.

Health check

You can use the /api/health endpoint to check if the application is up and running.

Building from source

go build

Support this project

GitHub Sponsors

Discord server

HyperTuner Discord server

License

MIT