Databases and search engines: Docker Compose stacks
Stateful services deserve more care than anything else in a compose file, and these stacks are written with that in mind. Each one pins a major version, keeps data in a named volume, adds a healthcheck that other services can wait on and binds admin ports to 127.0.0.1 instead of the whole network. You will find relational databases, document stores, vector and full-text search engines, and the admin tools that go with them. Read the production checklist on each page before you trust a container with data you cannot rebuild: backups, memory limits and upgrade paths are where most incidents start.
ClickHouse 25.8 Analytics Database
Docker Compose stack for ClickHouse 25.8 with a dedicated user, a healthcheck, raised file limits and HTTP and native ports on localhost for analytical queries.
Elasticsearch 8 + Kibana Search Stack
Docker Compose stack for Elasticsearch 8.19 and Kibana 8.19 with security enabled, a persistent volume, a healthcheck and localhost-only ports.
FastAPI + MongoDB 7 + Mongo Express
Docker Compose stack for a Python FastAPI API on MongoDB 7 with authentication, a healthcheck, persistent storage and a protected Mongo Express UI on localhost.
MariaDB 11.4 LTS + Adminer 5
Docker Compose stack with MariaDB 11.4 LTS, a healthcheck, a named volume and Adminer 5 on localhost. A lightweight admin UI for MySQL-compatible databases.
Meilisearch v1 + Python FastAPI Search API
Docker Compose stack for Meilisearch v1 in production mode with a master key, a healthcheck and persistent data, plus a FastAPI search API on localhost.
MongoDB 7 + Mongo Express Admin UI
Docker Compose stack for MongoDB 7 with root authentication, a healthcheck and a named volume, plus Mongo Express 1.0.2 on localhost with its own web login.
MySQL 8.4 + phpMyAdmin 5
Docker Compose stack for MySQL 8.4 LTS with a healthcheck, a persistent volume and phpMyAdmin 5.2 on localhost. Credentials come from .env, with checks.
PostgreSQL 16 + pgAdmin 4
Docker Compose stack for PostgreSQL 16 with a healthcheck, a named volume and pgAdmin 4 bound to localhost. Set your .env, start it and verify in minutes.
Redis 7 + RedisInsight GUI
Docker Compose stack for Redis 7 with password authentication, AOF persistence and a healthcheck, plus RedisInsight 2.70 on localhost for visual inspection.
Typesense 27.1 Search Engine
Docker Compose stack for Typesense 27.1, a fast typo-tolerant search engine, with a persistent data volume, a health endpoint and an admin API key on localhost.