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:
@@ -15,7 +15,7 @@ Flutter app (Android) ──JSON-RPC──► Odoo 17 (Python)
|
|||||||
|
|
||||||
| Layer | Teknologi | Port |
|
| 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) |
|
| Database | PostgreSQL 16 (`postgres:16`) | internal (5432, tdk di-publish) |
|
||||||
| Mobile | Flutter (Android) | — |
|
| Mobile | Flutter (Android) | — |
|
||||||
|
|
||||||
@@ -35,11 +35,11 @@ docker compose config # validasi
|
|||||||
docker compose up -d # start
|
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`).
|
(`ADMIN_PASSWORD` untuk Database Management di `.env`).
|
||||||
|
|
||||||
## Status
|
## 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
|
- ✅ JSON-RPC aktif (uid `admin` verified) — endpoint yang akan dipakai Flutter
|
||||||
- ✅ **Addon `saat_invest` terinstal** (model saham, transaksi, portofolio + seed 5 saham IDX)
|
- ✅ **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
|
- ✅ End-to-end teruji: buat beli/jual → recalculate → hitung avg cost & realized/unrealized P/L
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# Catatan:
|
# Catatan:
|
||||||
# - HANYA container baru, TIDAK menyentuh traefik/gitea/portainer yang sudah ada.
|
# - HANYA container baru, TIDAK menyentuh traefik/gitea/portainer yang sudah ada.
|
||||||
# - Postgres port 5432 TIDAK dipublish ke host (hanya akses antar container).
|
# - 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`.
|
# - Buat project admin di Odoo langsung via web UI setelah `docker compose up`.
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "8069:8069"
|
- "18069:8069"
|
||||||
environment:
|
environment:
|
||||||
- HOST=db
|
- HOST=db
|
||||||
- USER=${POSTGRES_USER}
|
- USER=${POSTGRES_USER}
|
||||||
|
|||||||
Reference in New Issue
Block a user