Remove migrate service from docker-compose; update README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
README.md
12
README.md
@@ -1,13 +1,17 @@
|
||||
Pamietnik ist eine Lebens/Reisejournal (Android +Webapp + Go Server) — Single Source of Truth
|
||||
Pamietnik ist eine Journal App (Android + Webapp + Go Server)
|
||||
|
||||
1. Zielbild
|
||||
Eine Android-App oder Webui erstellt ein Reisejournal, loggt Standortdaten im Background, cached offline, und lädt bevorzugt per HTTP zu einem Go-Server hoch; zusätzlich ist ein Datei-Export aus der App möglich.
|
||||
Die Applikation besteht aus folgenden Komponenten
|
||||
|
||||
Der Server stellt zusätzlich eine Website bereit (Login erforderlich), auf der pro Tag die gespeicherten Punkte angezeigt werden.
|
||||
- Backend in go programmiert mit Postgres DB und REST API
|
||||
- Webapp, eine simple im schlichten design umgesetzte Web App
|
||||
- Android app loggt Standortdaten im Background, cached offline, und lädt per HTTP backend
|
||||
|
||||
Fuer Nutzung ist ein Account und Login notwendig.
|
||||
|
||||
Das Backend soll basierend auf Logdaten Vorschläge für bestimmte Standorte machen (z. B. wenn man sich länger an einem Ort aufhält). Die Standortinformationen (Reverse-Geocoding/Place-Info) sollen über eine kostenlose API bezogen werden.
|
||||
|
||||
In der App soll es möglich sein, manuell Punkte hinzuzufügen (ohne GPS).
|
||||
Es möglich sein, manuell Punkte hinzuzufügen (ohne GPS).
|
||||
|
||||
2. Festlegungen (Decisions)
|
||||
DEC-CLIENT-01: Android (Kotlin), UI mit Jetpack Compose.
|
||||
|
||||
@@ -13,26 +13,14 @@ services:
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
migrate:
|
||||
build: ./backend
|
||||
entrypoint: ["/migrate"]
|
||||
environment:
|
||||
DATABASE_URL: postgres://ralph:ralph@postgres:5432/ralph?sslmode=disable
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: on-failure
|
||||
|
||||
api:
|
||||
build: ./backend
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
DATABASE_URL: postgres://ralph:ralph@postgres:5432/ralph?sslmode=disable
|
||||
LISTEN_ADDR: :8080
|
||||
depends_on:
|
||||
migrate:
|
||||
condition: service_completed_successfully
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
webapp:
|
||||
|
||||
Reference in New Issue
Block a user