chore: add Docker Compose dev stack (postgres 17, redis 7, meilisearch 1.11)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
environment:
|
||||
POSTGRES_USER: tower
|
||||
POSTGRES_PASSWORD: tower_dev
|
||||
POSTGRES_DB: tower_dev
|
||||
ports:
|
||||
- '5432: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:
|
||||
Reference in New Issue
Block a user