version: '3' services: web: build: context: . dockerfile: Dockerfile ports: - "8000:8000" volumes: - .:/app command: ["python", "manage.py", "runserver", "0.0.0.0:8000"] event-processor: build: context: . dockerfile: Dockerfile command: ["python", "manage.py", "start_event_processor"]