Forgejo

a year ago

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

Category: Storage

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

18 Replies

a year ago

Looks like you forgot a few things -

  • Health check.

  • Service icon.

  • Service name.


a year ago

Whoops… working on those.


a year ago

Fixed! Also got deploys working for this finally…

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


a year ago

Is there anything better than / as a health check?


a year 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.


a year ago

/api/v1/version is definitely preferable over /


a year ago

Changed.


a year ago

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


a year ago

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


a year ago

Updated.


a year ago

Awsome!


a year 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)


a year ago

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


a year 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.


a year ago

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


a year ago

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


a year 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.


a year ago

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


Forgejo - Railway Help Station