Compare commits

...

2 Commits

Author SHA1 Message Date
64b7d4c963 fix: example compose 2025-05-21 16:40:51 -05:00
9eb7079ea6 fix: local compose file 2025-05-21 16:39:40 -05:00
2 changed files with 13 additions and 13 deletions

View File

@@ -13,10 +13,9 @@ services:
- $PWD/bash/certs:/etc/ssl
web:
# build:
# dockerfile: docker/Dockerfile.web
# context: .
image: code.caldwell.digital/home/torsearch-web:latest
build:
dockerfile: docker/Dockerfile.web
context: .
depends_on:
app:
condition: service_healthy
@@ -29,10 +28,9 @@ services:
restart: unless-stopped
app:
# build:
# dockerfile: docker/Dockerfile.app
# context: .
image: code.caldwell.digital/home/torsearch-app:latest
build:
dockerfile: docker/Dockerfile.app
context: .
volumes:
- ./:/var/www
depends_on:
@@ -55,11 +53,13 @@ services:
condition: service_healthy
scheduler:
image: code.caldwell.digital/home/torsearch:0.14.5-worker
build:
dockerfile: docker/Dockerfile.scheduler
context: .
volumes:
- ./:/var/www
- ./var/download:/var/download
command: php ./bin/console messenger:consume scheduler_monitor -vv --time-limit=3600
command: -vv --time-limit=3600
depends_on:
app:
condition: service_healthy

View File

@@ -14,7 +14,7 @@ services:
# This container runs the actual web app in a php:8.4-fpm
# base container.
app:
image: code.caldwell.digital/home/torsearch-app:0.14.9
image: code.caldwell.digital/home/torsearch-app:latest
env_file:
- .env
depends_on:
@@ -29,7 +29,7 @@ services:
# This container runs a Symfony worker process.
# See: https://symfony.com/doc/current/messenger.html
worker:
image: code.caldwell.digital/home/torsearch-worker:0.14.9
image: code.caldwell.digital/home/torsearch-worker:latest
volumes:
- /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows
@@ -46,7 +46,7 @@ services:
# This container runs a Symfony worker process.
# See: https://symfony.com/doc/current/messenger.html
scheduler:
image: code.caldwell.digital/home/torsearch-scheduler:0.14.9
image: code.caldwell.digital/home/torsearch-scheduler:latest
volumes:
- ./downloads:/var/download
command: -vv --time-limit=3600