document deployment

This commit is contained in:
2025-07-19 00:55:13 +02:00
parent 051c291b8c
commit 178f5c517d
12 changed files with 643 additions and 71 deletions

30
docker-compose.yml Normal file
View File

@ -0,0 +1,30 @@
version: '3.8'
services:
# Full stack deployment with backend
palace-backend:
build:
context: .
dockerfile: Dockerfile.backend
ports:
- "3001:3001"
volumes:
- palace-data:/data
environment:
- PORT=3001
restart: unless-stopped
palace-frontend-db:
build:
context: .
dockerfile: Dockerfile.frontend
ports:
- "80:80"
environment:
- API_URL=http://palace-backend:3001
depends_on:
- palace-backend
restart: unless-stopped
volumes:
palace-data: