winofy-backend/docker-compose.yml
Ali Asadi 52adc732fa Initial Winofy backend: marketplace core (no payment integration)
Django 6 + DRF resource server against the Gooyal accounts OAuth2 service,
matching the Winsoo ecosystem's conventions. Covers locations, stores,
catalog, cart, checkout/orders (with the multi-store-cart split and the
status stepper), reviews, and notifications, plus a demo-data seed command.

Payment integration (wallet debits, online gateway, seller payouts) is
intentionally left out here — see feature/payment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-10 14:03:15 +03:30

51 lines
854 B
YAML

version: '3.8'
services:
winofy:
build: .
ports:
- "8000:8000"
env_file:
- .env
volumes:
- ./logs:/app/log
depends_on:
- db
- redis
networks:
- app
- monitoring
db:
image: postgis/postgis:16-3.4
environment:
POSTGRES_DB: ${DB_NAME}
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- app
redis:
image: redis:7-alpine
networks:
- app
promtail:
image: grafana/promtail:2.8.0
volumes:
- ./promtail-config.yaml:/etc/promtail/config.yaml
- ./logs:/var/log/django
command: -config.file=/etc/promtail/config.yaml
networks:
- monitoring
volumes:
pgdata:
networks:
app:
driver: bridge
monitoring:
driver: bridge