Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@ For production use, you should create a dedicated database user with minimal pri
uv run server.py --transport http --host 127.0.0.1 --port 9001 --path /mcp
```

### Docker Compose

```bash
docker compose up --build
```

---

## Usage Examples
Expand Down
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ services:
timeout: 3s
retries: 10
mariadb-mcp:
build: .
# asyncmy wheels crash with SIGILL on native arm64 Docker (Apple Silicon).
# Build and run as linux/amd64 only.
platform: linux/amd64
build:
context: .
platforms:
- linux/amd64
container_name: mariadb-mcp
env_file: .env
ports:
Expand Down