Releases: dawarich-app/atlas
Releases · dawarich-app/atlas
v0.2.0
Changed
- The shipped application is now the Phoenix app (
app-phoenix/), replacing the Rails app.ghcr.io/dawarich-app/atlas/appis now built fromapp-phoenix/andcompose.ymlruns it (Phoenix on port 4000; Caddy proxiesapp:4000). - The Go
atlas-controlsidecar is absorbed into the Phoenix app. It is removed fromcompose.yml; the app now execsdocker compose/docker runagainst the host daemon directly (requires the docker socket mount +group_addalready wired incompose.yml). Thebuild-controlandtest-sidecarCI jobs are retired. - API responses are byte-for-byte equal to the Rails app, enforced by the
mix test --include paritygolden gate in CI.
Added
- Auto-generated
SECRET_KEY_BASEon first boot (persisted to/data/.secret_key_base, mode600) sodocker compose up -dstays zero-config — matching the legacy Rails behavior. Atlas.Release.migrate_from_rails/1— one-shot importer for upgrades from a Rails install:bin/atlas eval 'Atlas.Release.migrate_from_rails("/data/app.sqlite3")'copiesservices,region_selections, andsettingsinto the Phoenix DB (idempotent; backs the source up first).
Migration notes (upgrading from 0.1.x / Rails)
- The Phoenix app uses a different SQLite file (
/data/atlas.sqlite3) and schema. Settings/region selection/service state do not carry over automatically — runAtlas.Release.migrate_from_rails/1once against the old/data/app.sqlite3to preserve them. (User GPS data lives in Dawarich, not Atlas, and is unaffected.) - Schema migrations run automatically on boot.
v0.1.1
Added
- Server-rendered static map route (
GET /static_map) with a MapLibre-basedstatic_map_controller.jsStimulus controller, dedicatedlayouts/static.html.erb, and ascript/render_static_map.mjsPlaywright runner for producing PNG snapshots from the command line.
Changed
- Quickstart is now zero-config:
git clone && docker compose up -dis enough.SECRET_KEY_BASEis auto-generated on first boot (persisted todata/app/.secret_key_base, mode600) instead of being a hard requirement in.env.compose.ymlno longer fails whenSECRET_KEY_BASEis unset. .env.examplerewritten: bothSECRET_KEY_BASEandDATABASE_URLare now documented as optional overrides, with the actual defaults (SQLite at/data/app.sqlite3) made explicit.- README quickstart updated to reflect the zero-config boot path; region-preset copy is now an optional follow-up rather than a prerequisite.
v0.1.0
Added
- Initial release of Dawarich Atlas — a local-first, self-hostable maps stack built on OpenStreetMap data and FOSS components.
- Rails 8 application (
app/) serving the map UI, admin Settings, and public + admin JSON APIs over MapLibre. - Go sidecar (
atlas-control/) orchestrating data ingest, region downloads, and per-service apply flows. - Compose stack with optional profiles for Photon (search), Valhalla (routing), Overpass + Pelias Placeholder + libpostal (POIs), and OpenTripPlanner (transit).
- Region presets covering Berlin, Germany, Europe, DACH, multi-city, and planet builds.
- Caddy reverse proxy fronting the stack on port 8484 and serving offline basemap tiles when present.
- Multi-arch GitHub Actions CI publishing
ghcr.io/dawarich-app/atlas/appandghcr.io/dawarich-app/atlas/atlas-controlon every push tomain.