.zip error creation due to ownership
detected with ai agent
This commit is contained in:
@@ -25,6 +25,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
redis:
|
redis:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
media-permissions:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
build:
|
build:
|
||||||
@@ -45,6 +47,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
redis:
|
redis:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
media-permissions:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
|
||||||
beat:
|
beat:
|
||||||
build:
|
build:
|
||||||
@@ -65,6 +69,8 @@ services:
|
|||||||
condition: service_started
|
condition: service_started
|
||||||
worker:
|
worker:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
media-permissions:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
|
||||||
flower:
|
flower:
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -21,6 +21,17 @@ services:
|
|||||||
# i aktiviramo LRU algoritam koji automatski briše najstarije ključeve ako se limit prijeđe.
|
# i aktiviramo LRU algoritam koji automatski briše najstarije ključeve ako se limit prijeđe.
|
||||||
command: redis-server --appendonly yes --maxmemory 100mb --maxmemory-policy allkeys-lru
|
command: redis-server --appendonly yes --maxmemory 100mb --maxmemory-policy allkeys-lru
|
||||||
|
|
||||||
|
media-permissions:
|
||||||
|
image: alpine:3.22
|
||||||
|
container_name: 004erpmediafix
|
||||||
|
command: >
|
||||||
|
sh -c "mkdir -p /app/media/fleet/generated_archives /app/media/fleet/generated_pdfs
|
||||||
|
&& chown -R 1001:1001 /app/media
|
||||||
|
&& chmod -R u+rwX,g+rwX /app/media"
|
||||||
|
volumes:
|
||||||
|
- media_volume:/app/media
|
||||||
|
restart: "no"
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
container_name: 004erpworker
|
container_name: 004erpworker
|
||||||
build:
|
build:
|
||||||
@@ -36,6 +47,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
db: { condition: service_healthy }
|
db: { condition: service_healthy }
|
||||||
redis: { condition: service_started }
|
redis: { condition: service_started }
|
||||||
|
media-permissions: { condition: service_completed_successfully }
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Reference in New Issue
Block a user