wip: generates supervisord config at runtime

This commit is contained in:
Brock H Caldwell
2025-11-04 09:54:41 -06:00
parent b01840b111
commit 9ca87af938
10 changed files with 168 additions and 13 deletions

View File

@@ -33,12 +33,11 @@ services:
worker:
# build:
# dockerfile: docker/Dockerfile.base.worker
# context: .
# args:
# FRANKENPHP_TAG: php8.4-alpine
image: torsearch-alpine
build:
dockerfile: docker/Dockerfile.worker
context: .
args:
APP_VERSION: latest
restart: unless-stopped
volumes:
- $PWD:/app
@@ -46,22 +45,22 @@ services:
tty: true
environment:
TZ: America/Chicago
# command: php /app/bin/console messenger:consume async --time-limit=3600 -vv
command: --download 2 --async
scheduler:
build:
dockerfile: docker/Dockerfile.base.worker
dockerfile: docker/Dockerfile.worker
context: .
args:
FRANKENPHP_TAG: php8.4-alpine
APP_VERSION: latest
restart: unless-stopped
volumes:
- $PWD:/app
- $PWD/var/download:/var/download
tty: true
environment:
TZ: America/Chicago
command: php /app/bin/console messenger:consume scheduler_monitor -vv
tty: true
WORKER_MONITOR: 2
redis: