Compare commits
2 Commits
bd92480958
...
64b7d4c963
| Author | SHA1 | Date | |
|---|---|---|---|
| 64b7d4c963 | |||
| 9eb7079ea6 |
20
compose.yml
20
compose.yml
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user