Forgejo

2 years ago

Description: Forgejo is a self-hosted lightweight software forge.

Category: Storage

URL: https://railway.app/template/Ot34oR

18 Replies

2 years ago

Looks like you forgot a few things -

  • Health check.

  • Service icon.

  • Service name.


2 years ago

Whoops… working on those.


2 years ago

Fixed! Also got deploys working for this finally…

Had some issues since they primarily put images on their own docker registry.


2 years ago

Is there anything better than / as a health check?


2 years ago

It is the least likely to change. Either way, there is also the "/api/v1/version" endpoint. There is no explicit health check endpoint according to their swagger docs.


2 years ago

/api/v1/version is definitely preferable over /


2 years ago

Changed.


2 years ago

Now this is just nitpicking, but wouldn't https://forgejo.org/favicon.svg look better as the template icon?


2 years ago

Oh possibly. I think I got that URL after I set up the template initially. Can update.


2 years ago

Updated.


2 years ago

Awsome!


2 years ago

I had to change the URL for health check back. Seems like that endpoint is not usable until the app is configured (first screen you get after deploy)


2 years ago

You will want to find and use an endpoint that is always available, preferably not /


2 years ago

Working on it. Seems like they dont expose a lot at the setup page… I think I get why the Gitea template doesn't have a healthcheck now.


2 years ago

Yeah… even their swagger file is not available until the setup is done.


2 years ago

The Gitea template doesn't have a health check because I have never asked its template creator to add one lol.


2 years ago

That being said, the API is just not available before setup it seems… Any attempt to use a different route sends you back to "/" for the setup.


2 years ago

Well you tried, / will have to do. Thank you!


Loading...