Docker Configuration
Nenyax uses Docker Compose to orchestrate all services.Two Modes
| Mode | Command | What runs in Docker |
|---|---|---|
| Local dev | docker compose up -d postgres minio | Only DB + MinIO. You run backend/frontend/agent locally. |
| All-Docker | docker compose up -d --build | All 5 services in Docker. |
Services
Networking
Local dev — services connect to Docker containers via host ports:| From → To | URL |
|---|---|
| Backend → PostgreSQL | localhost:5434 |
| Backend → MinIO | localhost:9002 |
| Frontend → Backend | localhost:8000 |
| Frontend → PostgreSQL | localhost:5434 (Better Auth) |
| From → To | URL |
|---|---|
| Backend → PostgreSQL | postgres:5432 |
| Backend → MinIO | minio:9000 |
| Frontend (server) → Backend | http://backend:8000/api |
| Frontend (client) → Backend | http://localhost:4201/api |
| Agent → Backend | http://backend:8000/api |
Environment
No.env file is required for local dev or Docker dev. All compose files have defaults:
POSTGRES_PASSWORDdefaults tonenyaxMINIO_ROOT_USER/PASSWORDdefaults tominioadminBETTER_AUTH_SECRETdefaults toauthsecret123
.env only to override these (e.g., for production credentials).