volumes: redisdata: {} services: composer-runtime: ports: - "9501:9501" volumes: - .:/app image: siteworxpro/composer entrypoint: "/bin/sh -c 'while true; do sleep 30; done;'" environment: PHP_IDE_CONFIG: serverName=localhost dev-runtime: ports: - "9501:9501" volumes: - .:/app build: context: . dockerfile: Dockerfile entrypoint: "/bin/sh -c 'while true; do sleep 30; done;'" environment: PHP_IDE_CONFIG: serverName=localhost WORKERS: 1 DEBUG: 1 REDIS_HOST: redis redis: image: redis:latest ports: - "6379:6379" volumes: - redisdata:/data