From 0266a7ec35a24b60cbba7721d465e6527867dacd Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 10 Aug 2024 12:08:49 +0000 Subject: [PATCH] chore: add init process and restart instruction to services --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index f17e85b..2a56d91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: profiles: - build hostname: libpostal + init: true + restart: unless-stopped entrypoint: sleep command: infinity ex: @@ -14,6 +16,8 @@ services: target: elixir image: 'joaodubas/addressex:elixir' hostname: ex + init: true + restart: unless-stopped entrypoint: sleep command: infinity py: @@ -21,6 +25,8 @@ services: target: python image: 'joaodubas/addressex:python' hostname: py + init: true + restart: unless-stopped entrypoint: sleep command: infinity go: @@ -28,6 +34,8 @@ services: target: go image: 'joaodubas/addressex:go' hostname: go + init: true + restart: unless-stopped ports: - '9000:9000' entrypoint: sleep