services: web: image: code.caldwell.digital/home/torsearch/web:latest ports: - '8001:80' volumes: - $PWD/bash/nginx.conf:/etc/nginx/conf.d/default.conf depends_on: app: condition: service_healthy app: image: code.caldwell.digital/home/torsearch/app:${TAG} deploy: replicas: 2 worker: image: code.caldwell.digital/home/torsearch/app:${TAG} volumes: - /mnt/media/downloads:/var/download command: php ./bin/console messenger:consume async -v --time-limit=3600 --limit=10 deploy: replicas: 2 scheduler: image: code.caldwell.digital/home/torsearch/app:${TAG} volumes: - /mnt/media/downloads:/var/download command: php ./bin/console messenger:consume scheduler_monitor -vv --time-limit=3600 mercure: image: dunglas/mercure restart: unless-stopped ports: - "3000:80" environment: SERVER_NAME: ':80' MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!' MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!' MERCURE_EXTRA_DIRECTIVES: | cors_origins * anonymous command: /usr/bin/caddy run --config /etc/caddy/dev.Caddyfile volumes: - mercure_data:/data - mercure_config:/config volumes: mercure_config: mercure_data: