Configured the removal of old files that were not attached to the model or were marked as deleted.

This commit is contained in:
2024-07-26 22:18:01 +05:00
parent dde792b97a
commit c84ed9f12b
10 changed files with 235 additions and 8 deletions

View File

@@ -17,6 +17,35 @@ services:
environment:
CONTAINER_ROLE: app
UNIT_SOURCE: '"172.16.0.0/12"'
queue:
build:
context: app
dockerfile: docker/Dockerfile
target: PRODUCTION
# restart: always
depends_on:
- db
- app-redis
environment:
CONTAINER_ROLE: queue
volumes:
- ./app/application:/var/www/html
scheduler:
build:
context: app
dockerfile: docker/Dockerfile
target: PRODUCTION
# restart: always
depends_on:
- db
- app-redis
environment:
CONTAINER_ROLE: scheduler
volumes:
- ./app/application:/var/www/html
app-redis:
image: redis:3.0-alpine
# restart: always