#!/usr/bin/env sh
set -eu

cd /app

alembic upgrade head

exec uvicorn quartermaster.main:app \
    --host 0.0.0.0 \
    --port 8000 \
    --proxy-headers \
    --forwarded-allow-ips='*' \
    --log-config src/quartermaster/logconfig.json
