services: web: build: context: ../web dockerfile: Dockerfiles/Dockerfile-dev container_name: liquid-web-dev command: > sh -c "python manage.py collectstatic --noinput && daphne -b 0.0.0.0 -p 8000 app.asgi:application" volumes: - ..:/app - ../web/media:/app/media - ../web/staticfiles:/app/web/staticfiles ports: - "8000:8000" depends_on: - redis # - vpn redis: image: redis:alpine container_name: liquid-redis-dev volumes: - redis_data:/data ports: - "6378:6378" healthcheck: test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ] interval: 1s timeout: 3s retries: 5 volumes: redis_data: