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>
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# Combined stack: API Server + Web App on a shared network.
|
|
# Run from this Docker/ folder: docker compose up --build
|
|
# Build contexts point back up to each service directory.
|
|
|
|
services:
|
|
api-server:
|
|
build:
|
|
context: "../API Server"
|
|
image: pilotvault-api-server
|
|
container_name: pilotvault-api-server
|
|
# Config (POCKETBASE_URL, CORS_ALLOW_ORIGINS, POCKETBASE_ADMIN_*) from .env.
|
|
env_file:
|
|
- "../API Server/.env"
|
|
ports:
|
|
- "8080:8080"
|
|
networks:
|
|
- pilotvault
|
|
restart: unless-stopped
|
|
|
|
web-app:
|
|
build:
|
|
context: "../Web App"
|
|
image: pilotvault-web-app
|
|
container_name: pilotvault-web-app
|
|
environment:
|
|
ADDR: ":8090"
|
|
# Reach the API Server by its service name on the shared network —
|
|
# no host.docker.internal needed here.
|
|
API_BASE: "http://api-server:8080"
|
|
ports:
|
|
- "8090:8090"
|
|
depends_on:
|
|
- api-server
|
|
networks:
|
|
- pilotvault
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
pilotvault:
|
|
driver: bridge
|