fix: creates custom images for each container

This commit is contained in:
2025-05-20 23:36:55 -05:00
parent 295f68cb92
commit 079a7e2cb5
7 changed files with 39 additions and 29 deletions

View File

@@ -13,11 +13,9 @@ services:
- $PWD/bash/certs:/etc/ssl
web:
image: code.caldwell.digital/home/torsearch/web:latest
ports:
- '8080:80'
volumes:
- $PWD/bash/nginx.conf:/etc/nginx/conf.d/default.conf
build:
dockerfile: docker/Dockerfile.web
context: .
depends_on:
app:
condition: service_healthy
@@ -38,11 +36,16 @@ services:
condition: service_healthy
worker:
image: code.caldwell.digital/home/torsearch:0.14.5-worker
build:
dockerfile: docker/Dockerfile.worker
context: .
volumes:
- ./:/var/www
- ./var/download:/var/download
command: php ./bin/console messenger:consume async -vvv --time-limit=3600
- ./:/app
- ./var/downloads/movies:/var/download/movies
- ./var/downloads/tvshows:/var/download/tvshows
command: -v --time-limit=3600 --limit=10
env_file:
- .env
depends_on:
app:
condition: service_healthy