diff --git a/Docker AIO/.env.example b/Docker-AIO/.env.example similarity index 96% rename from Docker AIO/.env.example rename to Docker-AIO/.env.example index 02333ea..ab06861 100644 --- a/Docker AIO/.env.example +++ b/Docker-AIO/.env.example @@ -1,4 +1,4 @@ -# Copy to .env and fill in. Used by the Docker AIO docker-compose.yml. +# Copy to .env and fill in. Used by the Docker-AIO docker-compose.yml. # --- Required (no defaults) -------------------------------------------------- # PocketBase superuser, also used by the API Server to authenticate. diff --git a/Docker AIO/.env.prod.example b/Docker-AIO/.env.prod.example similarity index 100% rename from Docker AIO/.env.prod.example rename to Docker-AIO/.env.prod.example diff --git a/Docker AIO/Dockerfile b/Docker-AIO/Dockerfile similarity index 99% rename from Docker AIO/Dockerfile rename to Docker-AIO/Dockerfile index fce894c..9a32a6c 100644 --- a/Docker AIO/Dockerfile +++ b/Docker-AIO/Dockerfile @@ -5,7 +5,7 @@ # The build context MUST be the project root so this file can reach both # "API Server/" and "Web App/". Build it with: # -# docker build -f "Docker AIO/Dockerfile" -t drivervault-aio . +# docker build -f "Docker-AIO/Dockerfile" -t drivervault-aio . # # Run it (all three services start together): # diff --git a/Docker AIO/README.md b/Docker-AIO/README.md similarity index 97% rename from Docker AIO/README.md rename to Docker-AIO/README.md index cb8abbf..0428d45 100644 --- a/Docker AIO/README.md +++ b/Docker-AIO/README.md @@ -22,7 +22,7 @@ scale, upgrade or restart the pieces independently. ## Run it ```bash -cd "Docker AIO" +cd "Docker-AIO" cp .env.example .env # then edit — PB_ADMIN_* have no safe defaults docker compose up -d --build ``` @@ -47,7 +47,7 @@ The build context **must be the repo root** so the Dockerfile can reach both `API Server/` and `Web App/`: ```bash -docker build -f "Docker AIO/Dockerfile" -t drivervault-aio . +docker build -f "Docker-AIO/Dockerfile" -t drivervault-aio . ``` Build args: `VITE_API_BASE` (leave empty so the bundle uses same-origin `/api`) diff --git a/Docker AIO/docker-compose.prod.yml b/Docker-AIO/docker-compose.prod.yml similarity index 100% rename from Docker AIO/docker-compose.prod.yml rename to Docker-AIO/docker-compose.prod.yml diff --git a/Docker AIO/docker-compose.yml b/Docker-AIO/docker-compose.yml similarity index 98% rename from Docker AIO/docker-compose.yml rename to Docker-AIO/docker-compose.yml index b5d0f1b..35f59db 100644 --- a/Docker AIO/docker-compose.yml +++ b/Docker-AIO/docker-compose.yml @@ -9,7 +9,7 @@ services: build: # Project root (one level up from this compose file). context: .. - dockerfile: Docker AIO/Dockerfile + dockerfile: Docker-AIO/Dockerfile args: # Empty -> bundle uses same-origin "/api", proxied internally by nginx. VITE_API_BASE: "${VITE_API_BASE:-}" diff --git a/Docker/README.md b/Docker/README.md index 8d16983..10e75ed 100644 --- a/Docker/README.md +++ b/Docker/README.md @@ -2,7 +2,7 @@ Three containers — **PocketBase**, **API Server**, **Web App** — on one compose network. This is the deployment to use unless you specifically want everything -in a single image; for that see [`../Docker AIO`](../Docker%20AIO). +in a single image; for that see [`../Docker-AIO`](../Docker-AIO). ``` Browser ─► Web App BFF (:8090) ──/api/*──► API Server (:8080) ─► PocketBase (:8070) diff --git a/README.md b/README.md index 671f4a7..aea502e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ nothing talks to PocketBase directly. | **Database** | PocketBase | ✅ running, schema + seed done | — | | **Web App** | Vue 3 + Vite + Tailwind v4 | ✅ full feature set (below) | [Web App/README.md](Web%20App/README.md) | | **Phone App** | Flutter (Android) | ✅ web parity + biometric login | [Phone App/README.md](Phone%20App/README.md) | -| **Docker** | Compose (multi-container / all-in-one) | ✅ deployment configs | [Docker/README.md](Docker/README.md) · [Docker AIO/README.md](Docker%20AIO/README.md) | +| **Docker** | Compose (multi-container / all-in-one) | ✅ deployment configs | [Docker/README.md](Docker/README.md) · [Docker-AIO/README.md](Docker-AIO/README.md) | | **Car Agent Device** | ESP32 + SIM7600 (LILYGO TTGO) | 🚧 firmware in progress | [Car Agent Device](Car%20Agent%20Device) | | **Home Assistant Plugin** | — | ⬜ later | — | @@ -122,7 +122,7 @@ Bring up the stack in this order — each app's README has the details: Or skip all of that and bring the whole stack up with **Docker**, which runs the schema setup itself — see [Docker](Docker/README.md) (PocketBase + API Server + -Web App as three containers) or [Docker AIO](Docker%20AIO/README.md) (all three +Web App as three containers) or [Docker-AIO](Docker-AIO/README.md) (all three in a single image). ## Layout @@ -135,5 +135,5 @@ DriverVault/ ├── Car Agent Device/ # ESP32 + SIM7600 firmware (LILYGO TTGO T-SIM7600) ├── Home Assistant Plugin/ # later phase ├── Docker/ # Compose deployment (API Server + Web App) -└── Docker AIO/ # single all-in-one image +└── Docker-AIO/ # single all-in-one image ```