85 lines
1.6 KiB
YAML
85 lines
1.6 KiB
YAML
# Local development orchestration.
|
|
#
|
|
# Repository locations are read from .env; this file describes how each
|
|
# repository is operated locally.
|
|
|
|
components:
|
|
api:
|
|
required_markers:
|
|
- pyproject.toml
|
|
- app
|
|
setup_command:
|
|
- uv
|
|
- sync
|
|
run_command:
|
|
- uv
|
|
- run
|
|
- uvicorn
|
|
- app.main:app
|
|
- --reload
|
|
- --host
|
|
- 127.0.0.1
|
|
- --port
|
|
- "8000"
|
|
|
|
mobile:
|
|
required_markers:
|
|
- package.json
|
|
setup_command:
|
|
- npm
|
|
- install
|
|
run_command:
|
|
- npx
|
|
- expo
|
|
- start
|
|
|
|
web:
|
|
required_markers:
|
|
- package.json
|
|
setup_command:
|
|
- npm
|
|
- install
|
|
run_command:
|
|
- npm
|
|
- run
|
|
- dev
|
|
|
|
admin:
|
|
required_markers:
|
|
- package.json
|
|
setup_command:
|
|
- npm
|
|
- install
|
|
run_command:
|
|
- npm
|
|
- run
|
|
- dev
|
|
|
|
infrastructure:
|
|
# This can be overridden with ACUPEDIA_LOCAL_COMPOSE_FILE.
|
|
compose_file: docker-compose.local.yml
|
|
project_name: acupedia-local
|
|
|
|
bootstrap:
|
|
# "content" is intentionally the safe/local default. "all" additionally
|
|
# requires a configured media manifest and storage environment.
|
|
default_target: content
|
|
|
|
# These paths are relative to ACUPEDIA_CONTENT_PATH unless absolute.
|
|
content_config: config.json
|
|
modules_root: .
|
|
|
|
# Configure these when local media seeding is required.
|
|
media_manifest:
|
|
media_root:
|
|
|
|
# Leave empty to let acupedia-api use its bundled plans.json.
|
|
commerce_plans:
|
|
|
|
database:
|
|
# Empty means use:
|
|
# <api-python> -m app.cli.reset --scope all
|
|
#
|
|
# You may provide an explicit command if the API reset interface changes.
|
|
reset_command: []
|