Make sure any configuration is set in the dotenv and settings.yaml files. By
default, gunicorn is used to create several workers in order to help with load
distribution. You can change the number of workers created in the gunicorn.py
file.
Then, run sudo docker compose up -d --build. You may need to run git submodule --init if you haven't already in order to actually get the code for smiggins
This is meant to be used with a reverse proxy like nginx (an example config is
in the nginx.example.conf file) serving the static files.
Run git pull --recurse-submodules to update smiggins, then run sudo docker compose up -d --build
to rebuild the container. You may need to run the previous command with the
--no-cache option if it isn't updating properly.