Docker setup improvements
Add auth flow diagram
Use strings for IDs, edit imports to not use the new type syntax and do not test while building the Docker image
Configuration is done with enviormental variables (or a .env
file). Here's an
example of values
PORT=8080
SQLITE=database.sqlite
ADMIN_USERNAME=luca
ADMIN_PASSWORD=qwer1234
ADMIN_EMAIL=support@localhost.com
LOG_LEVEL=NOTSET
To run in production simply run.
make run
For running in a container there's 2 commands that must be ran
First build the image.
# make container-build
Then either run it manually or with
# make container-run
One issue with the make script is that it will not have any enviormental
variables set. Ideally you should pass --env-file=.env
or something similar
(podman(1))