Add backend and frontend Dockerfiles, docker-compose setup with nginx reverse proxy, .dockerignore files and Makefile for dev/prod workflows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
434 B
YAML
22 lines
434 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: backend.Dockerfile
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- PLESNA_DB_PATH=/app/data/database.sqlite
|
|
- PLESNA_STORAGE_PATH=/app/data/documents
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8080:80"
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|