mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 07:52:55 +00:00
- Add Dockerfile with PostgreSQL support and static file collection - Add docker-compose.yml for multi-service deployment with PostgreSQL - Update .env.example with Coolify-specific environment variables - Fix syntax errors in authentication/models.py - Add comprehensive deployment guide in coolify-deploy.md 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
800 B
YAML
34 lines
800 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
build: .
|
|
ports:
|
|
- "3000:80"
|
|
environment:
|
|
- SECRET_KEY=${SECRET_KEY}
|
|
- DEBUG=${DEBUG:-false}
|
|
- ALLOWED_HOSTS=${ALLOWED_HOSTS}
|
|
- DATABASE_URL=${DATABASE_URL}
|
|
- EMAIL_HOST_USER=${EMAIL_HOST_USER:-}
|
|
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-}
|
|
- STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY:-}
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- static_volume:/app/staticfiles
|
|
- media_volume:/app/media
|
|
|
|
db:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DB:-quantumtasks}
|
|
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
postgres_data:
|
|
static_volume:
|
|
media_volume: |