wip: frankenphp

This commit is contained in:
2025-05-23 21:55:41 -05:00
parent 794189d70a
commit e85ae5ac95
7 changed files with 53 additions and 68 deletions

View File

@@ -16,10 +16,7 @@ services:
build: .
restart: unless-stopped
environment:
SERVER_NAME: ":80"
FRANKENPHP_CONFIG: "worker /app/public/index.php"
CADDY_GLOBAL_OPTIONS: "auto_https off"
APP_RUNTIME: "Runtime\\FrankenPhpSymfony\\Runtime"
volumes:
- $PWD:/app
tty: true
@@ -27,6 +24,14 @@ services:
database:
condition: service_healthy
worker:
build: .
restart: unless-stopped
volumes:
- $PWD:/app
tty: true
command: php /app/bin/console messenger:consume async -vv
redis:
image: redis:latest
volumes:
@@ -34,34 +39,6 @@ services:
command: redis-server --maxmemory 512MB
restart: unless-stopped
# worker:
# build:
# dockerfile: docker/Dockerfile.worker
# context: .
# volumes:
# - ./:/app
# - ./var/downloads/movies:/var/download/movies
# - ./var/downloads/tvshows:/var/download/tvshows
# command: -vvv --time-limit=3600
# env_file:
# - .env
# depends_on:
# app:
# condition: service_healthy
# scheduler:
# build:
# dockerfile: docker/Dockerfile.scheduler
# context: .
# volumes:
# - ./:/var/www
# - ./var/download:/var/download
# command: -vv --time-limit=3600
# depends_on:
# app:
# condition: service_healthy
mercure:
image: dunglas/mercure
restart: unless-stopped