wip: uses supervisord for worker and scheduler

This commit is contained in:
Brock H Caldwell
2025-11-02 21:29:48 -06:00
parent b67781fe23
commit b86028acee
5 changed files with 103 additions and 23 deletions

View File

@@ -33,11 +33,12 @@ services:
worker:
build:
dockerfile: docker/Dockerfile.base.worker
context: .
args:
FRANKENPHP_TAG: php8.4-alpine
# build:
# dockerfile: docker/Dockerfile.base.worker
# context: .
# args:
# FRANKENPHP_TAG: php8.4-alpine
image: torsearch-alpine
restart: unless-stopped
volumes:
- $PWD:/app
@@ -45,7 +46,7 @@ services:
tty: true
environment:
TZ: America/Chicago
command: php /app/bin/console messenger:consume async --time-limit=3600 -vv
# command: php /app/bin/console messenger:consume async --time-limit=3600 -vv
scheduler:
@@ -96,6 +97,8 @@ services:
image: adminer
ports:
- "8081:8080"
environment:
ADMINER_DEFAULT_SERVER: database
volumes: