Skip to content

v0.2.0 - Alpine, Migrations, Postgres Docker-Compose Config

Choose a tag to compare

@leosussan leosussan released this 03 Jul 16:58
· 80 commits to master since this release

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:

  1. gunicorn_conf.py - A deeper gunicorn configuration file, including customizations for serverless runtimes (Cloud Run)
  2. arq - Preferred async task queue
  3. sentry - Preferred stacktrace solution