feat: production stack (gunicorn+nginx) and infra product URL import

This commit is contained in:
2026-04-14 21:20:11 +00:00
parent 69684b59cf
commit f74298e3fd
6 changed files with 176 additions and 12 deletions

View File

@@ -1,11 +1,20 @@
services:
zkart:
app:
build: .
container_name: zkart-app
ports:
- "5000:5000"
environment:
SECRET_KEY: ${SECRET_KEY:-change-me-please}
volumes:
- ./matrix.db:/app/matrix.db
restart: unless-stopped
nginx:
image: nginx:1.27-alpine
container_name: zkart-nginx
depends_on:
- app
ports:
- "5000:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped