Docker AIO: a folder name without a space in it
The all-in-one folder is now Docker-AIO, so -f Docker-AIO/Dockerfile resolves without quoting. Every path that pointed at the old name follows it: the compose build stanza, the documented build commands, and the links from the two READMEs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
cc1dafa9f7
commit
9487de84b0
@@ -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.
|
||||
@@ -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):
|
||||
#
|
||||
@@ -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`)
|
||||
@@ -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:-}"
|
||||
+1
-1
@@ -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)
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user