version: '3.9' services: redis: container_name: astrojsdev_redis build: redis web: container_name: astrojsdev_app image: astrojs/app hostname: astrojs.default build: context: ../ dockerfile: windows/app/Dockerfile environment: DEBUG: "1" REDIS_CONN: redis://:@redis:6379/9 command: [ "python", "main.py" ] # [ "ping", "127.0.0.1", "-n", "9999" ] depends_on: - redis ports: - 5000:5000 volumes: - cache:C:/app/cache tasks: container_name: astrojsdev_compiler image: astrojs/app environment: REDIS_CONN: redis://:@redis:6379/9 command: [ "celery", "-A", "botanjs.service.jwork", "worker", "-l", "info", "--pool=solo" ] depends_on: - redis - web volumes: - cache:C:/app/cache volumes: cache: