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:
- 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