mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-13 13:42:19 +00:00
- Add production compose.yml using published ghcr.io images - Rename compose.yml to compose.dev.yml for development - Create config.example.toml configuration template - Update README.md with Docker setup instructions - Use ./data directory for configuration and database storage - Separate development and production Docker workflows
20 lines
491 B
YAML
20 lines
491 B
YAML
services:
|
|
# React frontend service
|
|
frontend:
|
|
image: ghcr.io/elisiariocouto/leggen:latest-frontend
|
|
restart: "unless-stopped"
|
|
ports:
|
|
- "127.0.0.1:3000:80"
|
|
depends_on:
|
|
leggend:
|
|
condition: service_healthy
|
|
|
|
# FastAPI backend service
|
|
leggend:
|
|
image: ghcr.io/elisiariocouto/leggen:latest
|
|
restart: "unless-stopped"
|
|
ports:
|
|
- "127.0.0.1:8000:8000"
|
|
volumes:
|
|
- "./data:/root/.config/leggen" # Configuration and database directory
|