Files
metabuilder/pastebin/docker-compose.production.yml
johndoe6345789 73c8e3d4dc feat: Add snippet-pastebin application
Full-featured pastebin application with:
- Next.js frontend with TypeScript
- Express backend with SQLite/PostgreSQL
- Syntax highlighting for 100+ languages
- Code quality validation system
- Comprehensive accessibility (WCAG compliance)
- Docker deployment configuration
- Playwright E2E tests
- Jest unit tests

This provides a standalone web application that can be
integrated as a capability module in the Universal Platform.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:54:54 +00:00

36 lines
655 B
YAML

version: '3.8'
services:
backend:
build: ./backend
ports:
- "5000:5000"
volumes:
- snippet-data:/app/data
environment:
- DATABASE_PATH=/app/data/snippets.db
- CORS_ALLOWED_ORIGINS=https://frontend.example.com,https://app.example.com
restart: unless-stopped
networks:
- app-network
frontend:
build:
context: .
args:
- NEXT_PUBLIC_FLASK_BACKEND_URL=https://backend.example.com
ports:
- "3000:3000"
depends_on:
- backend
restart: unless-stopped
networks:
- app-network
volumes:
snippet-data:
networks:
app-network:
driver: bridge