-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 808 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: "3.9"
services:
postgres:
image: ankane/pgvector:latest
container_name: wso2docs-pgvector
restart: unless-stopped
environment:
POSTGRES_USER: wso2mcp
POSTGRES_PASSWORD: wso2mcp
POSTGRES_DB: wso2docs
ports:
- "5432:5432"
volumes:
- pgvector_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U wso2mcp -d wso2docs"]
interval: 10s
timeout: 5s
retries: 5
pgadmin:
image: dpage/pgadmin4:latest
container_name: wso2docs-pgadmin
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: admin@wso2mcp.local
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
depends_on:
postgres:
condition: service_healthy
volumes:
pgvector_data: