twoblade
twoblade copied to clipboard
Easier docker setup, less intervention
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.examplefile to a.envfile - 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.