version: '3.8' services: db: image: postgres:16 container_name: morningdeck_db environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: morningdeck ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 5 meilisearch: image: getmeili/meilisearch:v1.12 container_name: morningdeck_meilisearch environment: - MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-devMasterKey12345} - MEILI_NO_ANALYTICS=true - MEILI_ENV=development ports: - "7700:7700" volumes: - meilisearch_data:/meili_data healthcheck: test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"] interval: 10s timeout: 5s retries: 5 volumes: postgres_data: meilisearch_data: