41 lines
839 B
YAML
41 lines
839 B
YAML
services:
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
environment:
|
|
POSTGRES_USER: tower
|
|
POSTGRES_PASSWORD: tower_dev
|
|
POSTGRES_DB: tower_dev
|
|
ports:
|
|
- '5433:5432'
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U tower -d tower_dev']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports:
|
|
- '6379:6379'
|
|
healthcheck:
|
|
test: ['CMD', 'redis-cli', 'ping']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
meilisearch:
|
|
image: getmeili/meilisearch:v1.11
|
|
ports:
|
|
- '7700:7700'
|
|
environment:
|
|
MEILI_NO_ANALYTICS: 'true'
|
|
MEILI_MASTER_KEY: tower_meili_dev_key
|
|
volumes:
|
|
- meilisearch_data:/meili_data
|
|
|
|
volumes:
|
|
postgres_data:
|
|
meilisearch_data:
|