v0.2.0 - Alpine, Migrations, Postgres Docker-Compose Config
feature: app builds on python3.7-alpine3.8
rationale: cuts runtime size by a third, dramatically improves image security. Google's Container Scan now detect 0 exploits, down from 600+ from vanilla python3.7.
feature: Added 'Prestart.sh', configured to run alembic upgrade head
rationale: 'Prestart.sh' used to run scripts before app is instantiated. currently configured to run migrations post-build, pre-server init.
feature: docker-compose.local.yml
rationale: Runs postgres as a docker service, connects app. for local development purposes.
planned updates:
- gunicorn_conf.py - A deeper gunicorn configuration file, including customizations for serverless runtimes (Cloud Run)
- arq - Preferred async task queue
- sentry - Preferred stacktrace solution