A lightweight automatically updated AeroDebrief backend reverse proxy
2.5K
Django backend for the AeroDebrief flight analysis platform.
Docker tags: 1.5.2-001, 1.5, 1, latest
API backend for the AeroDebrief application. Handles flight data management and analysis. Uses Django Ninja for REST APIs and PostgreSQL for storage.
mypy/pyrefly (strict typing), ruff (lint/format), pre-commit hooks.factory_boy.Clone the repository:
git clone https://gitlab.com/op_so/projects/aerodebrief-backend.git
cd aerodebrief-backend
Install dependencies:
uv sync
Set up the environment: Copy the example environment file and adjust as needed.
cp env.example .env
Create local data directories and start infrastructure:
task 00:020-create-data-dir
rm -rf ./.data/postgresql
mkdir -p ./.data/postgresql && chmod 777 ./.data/postgresql
docker compose up
task 00:030-reset-db
uv run manage.py runserver
API: http://127.0.0.1:8000/api/v1
Doc: http://127.0.0.1:8000/api/v1/docs
Admin: http://127.0.0.1:8000/admin
Mailpit: http://127.0.0.1:8025/
PgAdmin: http://127.0.0.1:8888/
Common tasks are available via Taskfile:
| Command | Description |
|---|---|
task 00:110-format | Format code with ruff. |
task 00:120-lint | Lint with ruff. |
task 00:130-type-check | Type check with mypy and pyrefly. |
task 00:220-run-tests | Run tests with pytest. |
task 00:999-pre-commit | Run all pre-commit checks. |
| Command | Description |
|---|---|
task 00:030-reset-db | Reset DB, run migrations, create superuser. |
| Command | Description |
|---|---|
task 00:710-docker-build-local-dev | Build dev images locally (aerodebrief-api:dev, aerodebrief-rp:dev). |
task 00:730-docker-test-local | Run HTTP tests against the local Docker stack (port 8080). |
Run the full local stack after building images:
docker compose -f compose.local.dev.yml up
| Name | Version | Type |
|---|---|---|
| alpine-baselayout | 3.7.2-r1 | apk |
| alpine-baselayout-data | 3.7.2-r1 | apk |
| alpine-keys | 2.6-r0 | apk |
| alpine-release | 3.24.1-r0 | apk |
| aom-libs | 3.14.1-r0 | apk |
| apache2-utils | 2.4.68-r0 | apk |
| apk-tools | 3.0.6-r0 | apk |
| apr | 1.7.6-r0 | apk |
| apr-util | 1.6.4-r0 | apk |
| brotli-libs | 1.2.0-r1 | apk |
| busybox | 1.37.0-r31 | apk |
| busybox-binsh | 1.37.0-r31 | apk |
| c-ares | 1.34.8-r0 | apk |
| ca-certificates | 20260611-r0 | apk |
| ca-certificates-bundle | 20260611-r0 | apk |
| curl | 8.21.0-r0 | apk |
| fontconfig | 2.17.1-r1 | apk |
| freetype | 2.14.3-r0 | apk |
| geoip | 1.6.12-r6 | apk |
| gettext-envsubst | 1.0-r0 | apk |
| libapk | 3.0.6-r0 | apk |
| libavif | 1.4.1-r0 | apk |
| libbsd | 0.12.2-r0 | apk |
| libbz2 | 1.0.8-r6 | apk |
| libcrypto3 | 3.5.7-r0 | apk |
| libcurl | 8.21.0-r0 | apk |
| libdav1d | 1.5.3-r0 | apk |
| libedit | 20260508.3.1-r1 | apk |
| libexpat | 2.8.3-r0 | apk |
| libgcc | 15.2.0-r5 | apk |
| libgd | 2.3.3-r10 | apk |
| libice | 1.1.2-r0 | apk |
| libidn2 | 2.3.8-r0 | apk |
| libintl | 1.0-r0 | apk |
| libjpeg-turbo | 3.1.3-r0 | apk |
| libmd | 1.2.0-r0 | apk |
| libncursesw | 6.6_p20260516-r0 | apk |
| libpng | 1.6.58-r1 | apk |
| libpsl | 0.21.5-r3 | apk |
| libsharpyuv | 1.6.0-r0 | apk |
| libsm | 1.2.6-r0 | apk |
| libssl3 | 3.5.7-r0 | apk |
| libstdc++ | 15.2.0-r5 | apk |
| libunistring | 1.4.2-r0 | apk |
| libuuid | 2.42.1-r0 | apk |
| libwebp | 1.6.0-r0 | apk |
| libx11 | 1.8.13-r0 | apk |
| libxau | 1.0.12-r0 | apk |
| libxcb | 1.17.0-r2 | apk |
| libxdmcp | 1.1.5-r1 | apk |
| libxext | 1.3.7-r0 | apk |
| libxml2 | 2.13.9-r2 | apk |
| libxpm | 3.5.19-r0 | apk |
| libxslt | 1.1.43-r3 | apk |
| libxt | 1.3.1-r0 | apk |
| libyuv | 0.0.1928-r0 | apk |
| musl | 1.2.6-r2 | apk |
| musl-utils | 1.2.6-r2 | apk |
| ncurses-terminfo-base | 6.6_p20260516-r0 | apk |
| nghttp2-libs | 1.69.0-r0 | apk |
| nginx | 1.31.4-r1 | apk |
| nginx-module-geoip | 1.31.4-r1 | apk |
| nginx-module-image-filter | 1.31.4-r1 | apk |
| nginx-module-njs | 1.31.4.1.0.0-r1 | apk |
| nginx-module-xslt | 1.31.4-r1 | apk |
| pcre2 | 10.47-r1 | apk |
| scanelf | 1.3.9-r1 | apk |
| ssl_client | 1.37.0-r31 | apk |
| tiff | 4.7.1-r0 | apk |
| tzdata | 2026c-r0 | apk |
| xz-libs | 5.8.3-r0 | apk |
| zlib | 1.3.2-r0 | apk |
| zstd-libs | 1.5.7-r2 | apk |
This project is licensed under the GNU Affero General Public License (AGPL) - see the LICENSE file for details.
Content type
Image
Digest
sha256:b3be2a642…
Size
25 MB
Last updated
29 days ago
docker pull jfxs/aerodebrief-rp