mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 13:08:34 +03:00
testing docker-compose init:true for prod (reducing zombie processes)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user