chore: add init process and restart instruction to services

This commit is contained in:
2024-08-10 12:08:49 +00:00
parent 50a2822eeb
commit 0266a7ec35

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