twoblade icon indicating copy to clipboard operation
twoblade copied to clipboard

Easier docker setup, less intervention

Open Alt791350 opened this issue 1 year ago • 0 comments

After trying it out I found some ways to improve the docker setup.

I haven't updated the README yet since their might be change requests.

In this setup you only need to:

  • Copy the .env.example file to a .env file
  • Change the values to match your stuff
  • Run docker compose build
  • Run docker compose up -d

And that would be it.

This also fixes the missing moderation.ts for docker builds, building non-docker still works with the old method. I did also notice that the SHARP service might not boot correctly if the database hasn't initialised yet, especially if it has yet to import the init.sql but after a restart of the SHARP service it seems to be fixed and working as intended.

Alt791350 avatar Jul 02 '25 15:07 Alt791350