Compare commits

...

6 Commits

4 changed files with 6 additions and 10 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:
@@ -33,7 +33,8 @@ services:
scheduler: scheduler:
image: registry.caldwell.digital/home/torsearch-scheduler:${TAG} image: registry.caldwell.digital/home/torsearch-scheduler:${TAG}
volumes: volumes:
- ./downloads:/var/download - /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows
restart: always restart: always
command: -vv command: -vv
depends_on: depends_on:

View File

@@ -17,6 +17,6 @@ COPY docker/app/Caddyfile /etc/frankenphp/Caddyfile
ENTRYPOINT [ "/usr/local/bin/docker-entrypoint" ] ENTRYPOINT [ "/usr/local/bin/docker-entrypoint" ]
CMD [ "frankenphp", "run", "--config", "/etc/caddy/Caddyfile" ] CMD [ "frankenphp", "run", "--config", "/etc/frankenphp/Caddyfile" ]
HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/app/bin/console", "startup:status" ] HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/app/bin/console", "startup:status" ]

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}
}
} }
} }