Files
erp-efintel-2026-portainer/docker-compose.local.yml
T

46 lines
851 B
YAML

version: '3.8'
services:
web:
build:
context: .
dockerfile: Dockerfile
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
- local_media:/app/media
ports:
- 8000:8000
environment:
- DEBUG=1
- USE_S3=False
- REDIS_URL=redis://redis:6379/0
- DATABASE_URL=sqlite:////app/db.sqlite3
depends_on:
- redis
celery:
build:
context: .
dockerfile: Dockerfile
command: celery -A config worker -l info
volumes:
- .:/app
environment:
- DEBUG=1
- USE_S3=False
- REDIS_URL=redis://redis:6379/0
depends_on:
- redis
redis:
image: redis:7-alpine
ports:
- 6379:6379
tax-api:
build:
context: ./tax_api
dockerfile: Dockerfile
ports:
- 8001:8000
mem_limit: 256m
volumes:
local_media: null