Add API Server (Go/PocketBase), Web App (Go BFF + Vue), Fly App (Flutter/DJI MSDK), Adobe Plugin, and Docker/Docker AIO deployment configs. Design assets and build artifacts are gitignored. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
# All-in-one PilotVault stack (PocketBase + API Server + Web App) in ONE container.
|
|
# Run from this Docker AIO/ folder: docker compose up --build
|
|
# The build context is the repo root (..) because the Dockerfile COPYs from
|
|
# "API Server/" and "Web App/".
|
|
|
|
services:
|
|
pilotvault:
|
|
build:
|
|
context: ".."
|
|
dockerfile: "Docker AIO/Dockerfile"
|
|
# args:
|
|
# PB_VERSION: "0.22.21" # override the bundled PocketBase version
|
|
# PB_ARCH: "amd64" # use "arm64" on Apple Silicon
|
|
image: pilotvault-aio
|
|
container_name: pilotvault-aio
|
|
ports:
|
|
- "8090:8090" # Web App (control panel)
|
|
- "8080:8080" # API Server
|
|
- "8026:8026" # PocketBase
|
|
environment:
|
|
# Loopback-wired between the three in-container services. Override the
|
|
# bundled default credentials here for anything real.
|
|
POCKETBASE_ADMIN_EMAIL: "admin@dji.local"
|
|
POCKETBASE_ADMIN_PASSWORD: "djiadmin2026!"
|
|
CORS_ALLOW_ORIGINS: "*"
|
|
volumes:
|
|
- pb_data:/pb/pb_data # persist PocketBase SQLite across restarts
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
pb_data:
|