infra/docs/obs-portal.md
Hendrik Sokolowski 75c7e2dcf5
All checks were successful
Flake checks / Check (pull_request) Successful in 6m2s
docs: add rough documentation about obs-portal
2024-04-28 01:23:42 +02:00

336 B

OpenBikeSensor Portal

Docker Containers

  • portal
  • worker
  • db

Run database migrations

docker exec -ti obs-portal tools/upgrade.py

Dump database

docker exec -ti --user postgres obs-portal-db pg_dump obs

Restore database

cat dump.sql | docker exec -ti --user postgres obs-portal-db psql obs