feat: production stack (gunicorn+nginx) and infra product URL import
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user