mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Consolidate CLI and server machine defaults under settings.toml, including loader renames, writer preservation fixes, same-machine manifest handling, and docs/test updates for the new config model.
35 lines
655 B
YAML
35 lines
655 B
YAML
services:
|
|
api:
|
|
image: fabro
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
platforms:
|
|
- linux/arm64
|
|
pull_policy: never
|
|
command: ["api"]
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
web:
|
|
image: fabro
|
|
pull_policy: never
|
|
command: ["web"]
|
|
ports:
|
|
- "5173:5173"
|
|
environment:
|
|
- FABRO_DEMO=1
|
|
volumes:
|
|
- ./demo-settings.toml:/root/.fabro/settings.toml:ro
|
|
- ../apps/fabro-web/public:/app/apps/fabro-web/public
|
|
depends_on:
|
|
- api
|
|
|
|
docs:
|
|
image: fabro
|
|
pull_policy: never
|
|
command: ["docs"]
|
|
ports:
|
|
- "3333:3333"
|
|
volumes:
|
|
- ../docs:/app/docs:ro
|