- Fix cut/copy to preserve mask shape with transparency - Add missing CSS icons for magic_wand, lasso, ellipse_select tools - Fix toast messages styling (visible on dark theme) - Update AI Inpaint to work with all selection tools - Change tab title to +miniPaint - Add DNS config to docker-compose for external API access
28 lines
708 B
YAML
28 lines
708 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: ai-photo-edit
|
|
ports:
|
|
- "3080:8000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./scripts:/scripts
|
|
environment:
|
|
- DATABASE_URL=sqlite:///./data/ai_photo_edit.db
|
|
- SECRET_KEY=${SECRET_KEY:-change-this-secret-key-in-production}
|
|
- AI_PROVIDER=${AI_PROVIDER:-mock}
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
|
- STABILITY_API_KEY=${STABILITY_API_KEY:-}
|
|
- REPLICATE_API_KEY=${REPLICATE_API_KEY:-}
|
|
- CORS_ORIGINS=*
|
|
# DNS servers for reliable external API access (Replicate, etc.)
|
|
dns:
|
|
- 8.8.8.8
|
|
- 8.8.4.4
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
data:
|