chore: add init process and restart instruction to services

This commit is contained in:
João Paulo Dubas 2024-08-10 12:08:49 +00:00
parent 50a2822eeb
commit 0266a7ec35
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA

View File

@ -7,6 +7,8 @@ services:
profiles: profiles:
- build - build
hostname: libpostal hostname: libpostal
init: true
restart: unless-stopped
entrypoint: sleep entrypoint: sleep
command: infinity command: infinity
ex: ex:
@ -14,6 +16,8 @@ services:
target: elixir target: elixir
image: 'joaodubas/addressex:elixir' image: 'joaodubas/addressex:elixir'
hostname: ex hostname: ex
init: true
restart: unless-stopped
entrypoint: sleep entrypoint: sleep
command: infinity command: infinity
py: py:
@ -21,6 +25,8 @@ services:
target: python target: python
image: 'joaodubas/addressex:python' image: 'joaodubas/addressex:python'
hostname: py hostname: py
init: true
restart: unless-stopped
entrypoint: sleep entrypoint: sleep
command: infinity command: infinity
go: go:
@ -28,6 +34,8 @@ services:
target: go target: go
image: 'joaodubas/addressex:go' image: 'joaodubas/addressex:go'
hostname: go hostname: go
init: true
restart: unless-stopped
ports: ports:
- '9000:9000' - '9000:9000'
entrypoint: sleep entrypoint: sleep