version: '3.9' services: backend: build: ./server ports: - "8000:8000" volumes: - ./server:/usr/src/app environment: - DEBUG=1 command: python manage.py runserver 0.0.0.0:8000 frontend: build: ./client ports: - "3000:80" depends_on: - backend