Ganti port host Odoo 8069 -> 18069 (host:container = 18069:8069)

- docker-compose.yml: expose host port 18069
- README.md: update URL akses & status
- Data tidak terpengaruh (volume utuh); 8069 tidak lagi dipublish.
- Odoo internal (container) tetap 8069.
This commit is contained in:
2026-09-02 11:41:42 +07:00
parent 92fb357b56
commit fca81a9997
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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}