addressex/docker-compose.yml
Joao P Dubas ffcef307b1
chore(docker): update meilisearch and ui to latest version
Also, ensure code images are never pulled from dockerhub.
2025-05-07 18:43:54 +00:00

75 lines
1.5 KiB
YAML

---
services:
libpostal:
build:
target: builder
image: 'joaodubas/addressex:builder'
pull_policy: never
profiles:
- build
hostname: libpostal
init: true
restart: unless-stopped
entrypoint: sleep
command: infinity
search:
image: 'getmeili/meilisearch:v1.14.0'
hostname: meili
restart: unless-stopped
environment:
MEILI_ENV: development
MEILI_MASTER_KEY: &meili_master_key ${ADDRESSEX_MEILI_KEY:-59EDmQofBp8vGT8kMvJJADPHRWHEAsWzZjCCqBFpVeuBmC2kWgCiBEgG7vfZ3ArY}
volumes:
- 'meili_data:/meili_data'
ports:
- '${ADDRESSEX_MEILI_PORT:-7700}:7700'
search_ui:
image: 'riccoxie/meilisearch-ui:v0.12.1'
hostname: search-ui
init: true
restart: unless-stopped
ports:
- '${ADDRESSEX_MEILI_UI_PORT:-24900}:24900'
ex:
build:
target: elixir
image: 'joaodubas/addressex:elixir'
pull_policy: never
hostname: ex
init: true
restart: unless-stopped
entrypoint: sleep
command: infinity
py:
build:
target: python
image: 'joaodubas/addressex:python'
pull_policy: never
hostname: py
init: true
restart: unless-stopped
entrypoint: sleep
command: infinity
go:
build:
target: go
image: 'joaodubas/addressex:go'
pull_policy: never
hostname: go
init: true
restart: unless-stopped
environment:
MEILI_MASTER_KEY: *meili_master_key
ports:
- '9000:9000'
entrypoint: sleep
command: infinity
volumes:
meili_data: {}