Files
mont_vendor_maps/docker-compose.yml

31 lines
870 B
YAML

services:
app:
build: .
container_name: zkart-app
environment:
SECRET_KEY: ${SECRET_KEY:-change-me-please}
WEB_CONCURRENCY: ${WEB_CONCURRENCY:-4}
GUNICORN_THREADS: ${GUNICORN_THREADS:-5}
TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:-}
TELEGRAM_CHAT_ID: ${TELEGRAM_CHAT_ID:-}
NEWS_API_TOKEN: ${NEWS_API_TOKEN:-}
TZ: ${TZ:-Europe/Moscow}
volumes:
- ./matrix.db:/app/matrix.db
- ./static/news_images:/app/static/news_images
- ./static/events_images:/app/static/events_images
- ./static/css:/app/static/css
- ./templates:/app/templates
restart: unless-stopped
nginx:
image: nginx:1.27-alpine
container_name: zkart-nginx
depends_on:
- app
ports:
- "5002:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped