-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 1.09 KB
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 1.09 KB
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
37
38
39
40
41
42
# Local dev infrastructure: Postgres + Planka only.
# MCP server runs on the host: cd mcp-server && pnpm dev
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=planka
- POSTGRES_HOST_AUTH_METHOD=trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
planka:
image: ghcr.io/plankanban/planka:2.0.1
restart: unless-stopped
ports:
- "1337:1337"
volumes:
- planka-data:/app/data
environment:
- BASE_URL=http://localhost:1337
- DATABASE_URL=postgresql://postgres@postgres:5432/planka
- SECRET_KEY=dev-secret-not-for-production
- DEFAULT_ADMIN_EMAIL=admin@example.com
- DEFAULT_ADMIN_PASSWORD=admin123
- DEFAULT_ADMIN_NAME=Admin
- DEFAULT_ADMIN_USERNAME=admin
depends_on:
postgres:
condition: service_healthy
volumes:
postgres-data:
planka-data: