diff --git a/README.md b/README.md index ea951ef..4bb4cba 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Flutter app (Android) ──JSON-RPC──► Odoo 17 (Python) | Layer | Teknologi | Port | |---|---|---| -| Backend | Odoo 17 Community (`odoo:17.0`) | `8069` (host) | +| Backend | Odoo 17 Community (`odoo:17.0`) | `18069` (host) | | Database | PostgreSQL 16 (`postgres:16`) | internal (5432, tdk di-publish) | | Mobile | Flutter (Android) | — | @@ -35,11 +35,11 @@ docker compose config # validasi docker compose up -d # start ``` -Akses UI: http://localhost:8069 — login `admin` / `admin` +Akses UI: http://localhost:18069 — login `admin` / `admin` (`ADMIN_PASSWORD` untuk Database Management di `.env`). ## Status -- ✅ Odoo 17 container jalan (port 8069), DB PostgreSQL 16 healthy +- ✅ Odoo 17 container jalan (port 18069), DB PostgreSQL 16 healthy - ✅ JSON-RPC aktif (uid `admin` verified) — endpoint yang akan dipakai Flutter - ✅ **Addon `saat_invest` terinstal** (model saham, transaksi, portofolio + seed 5 saham IDX) - ✅ End-to-end teruji: buat beli/jual → recalculate → hitung avg cost & realized/unrealized P/L diff --git a/docker-compose.yml b/docker-compose.yml index 30f6ed7..f4e41b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ # Catatan: # - HANYA container baru, TIDAK menyentuh traefik/gitea/portainer yang sudah ada. # - Postgres port 5432 TIDAK dipublish ke host (hanya akses antar container). -# - Odoo ter-expose di host port 8069. Traefik routing opsional belakangan. +# - Odoo ter-expose di host port 18069 (host:container = 18069:8069). Traefik routing opsional belakangan. # - Buat project admin di Odoo langsung via web UI setelah `docker compose up`. services: @@ -35,7 +35,7 @@ services: db: condition: service_healthy ports: - - "8069:8069" + - "18069:8069" environment: - HOST=db - USER=${POSTGRES_USER}