SQLite DB was not writable because it was always located in
/usr/src/shynet/, which is owned by root and not writable by
appuser. SQLite needs the parent directory containing the DB file to be
writable by the running user.
The applied fix is to place the DB file in /var/local/shynet/db and to
create that directory in the Docker image with the right permissions.
SQLite setup is now documented in README as an alternative to Postgres.
Add firstrun checks
Avoids running commands on firstrun
Add Docker-compose file
allows setup in a single docker-compose up command
Updated Readme re: docker-compose
Added stub detailing how to use the compose file.
Update README.md
Changed Entrypoint
Moved sanity checks to their own script, changed entrypoint logic
updated entrypoint