services: redis: image: redis:alpine restart: "no" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 30s timeout: 60s retries: 5 expose: - 6379 django: build: context: . restart: "no" volumes: - .:/usr/src/app/ ports: - 8000:8000 depends_on: - redis huey: build: . restart: "no" entrypoint: ./manage.py run_huey -f volumes: - .:/usr/src/app depends_on: - redis