Configured the removal of old files that were not attached to the model or were marked as deleted.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user