Compare commits

...

3 Commits

Author SHA1 Message Date
3100912927 fix: disabled caddy worker mode 2025-05-26 09:39:17 -05:00
07553a172f fix: sets limits on worker 2025-05-25 23:30:31 -05:00
a88da4f637 fix(local deploy): uncomments line 2025-05-25 22:52:51 -05:00
4 changed files with 4 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ services:
volumes: volumes:
- $PWD:/app - $PWD:/app
tty: true tty: true
command: php /app/bin/console messenger:consume async -vv command: php /app/bin/console messenger:consume async -vv --time-limit=3600 limit=10
scheduler: scheduler:

View File

@@ -23,7 +23,7 @@ services:
- /mnt/media/downloads/movies:/var/download/movies - /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows - /mnt/media/downloads/tvshows:/var/download/tvshows
restart: always restart: always
command: -vv command: -vv --time-limit=3600 limit=10
deploy: deploy:
replicas: 2 replicas: 2
depends_on: depends_on:

View File

@@ -11,7 +11,7 @@ RUN install-php-extensions \
zip \ zip \
opcache opcache
#COPY . /app COPY . /app
COPY --chmod=775 docker/app/entrypoint.sh /usr/local/bin/docker-entrypoint COPY --chmod=775 docker/app/entrypoint.sh /usr/local/bin/docker-entrypoint
COPY docker/app/Caddyfile /etc/frankenphp/Caddyfile COPY docker/app/Caddyfile /etc/frankenphp/Caddyfile

View File

@@ -4,12 +4,7 @@
frankenphp { frankenphp {
{$FRANKENPHP_CONFIG} {$FRANKENPHP_CONFIG}
worker {
file ./public/index.php
num 20
env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
{$FRANKENPHP_WORKER_CONFIG}
}
} }
} }