testing docker-compose init:true for prod (reducing zombie processes)

This commit is contained in:
msramalho
2025-06-30 02:53:23 +01:00
parent 6b90058146
commit a5ea84ad2a

View File

@@ -5,6 +5,7 @@ volumes:
name: "auto-archiver-api"
services:
web:
init: true
build:
context: .
dockerfile: docker/web/Dockerfile
@@ -29,6 +30,7 @@ services:
retries: 3
worker:
init: true
build:
context: .
dockerfile: docker/worker/Dockerfile
@@ -57,6 +59,7 @@ services:
retries: 3
redis:
init: true
image: redis:6-alpine
restart: always
env_file: .env.prod