forked from lwgray/marcus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
87 lines (83 loc) · 2.17 KB
/
Copy pathdocker-compose.yml
File metadata and controls
87 lines (83 loc) · 2.17 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
services:
# PostgreSQL database for Planka
postgres:
image: postgres:15-alpine
container_name: marcus-postgres
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=planka
- POSTGRES_HOST_AUTH_METHOD=trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- marcus-network
command:
- "postgres"
- "-c"
- "max_connections=100"
- "-c"
- "shared_buffers=256MB"
# Planka Kanban board - PINNED VERSION
planka:
image: ghcr.io/plankanban/planka:1.26.2
container_name: marcus-planka
restart: unless-stopped
ports:
- "3333:1337"
environment:
- BASE_URL=http://localhost:3333
- TRUST_PROXY=1
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/planka?sslmode=disable
- SECRET_KEY=secretkey
# Default admin credentials
- DEFAULT_ADMIN_EMAIL=demo@demo.demo
- DEFAULT_ADMIN_PASSWORD=demo
- DEFAULT_ADMIN_NAME=Demo User
- DEFAULT_ADMIN_USERNAME=demo
- NODE_ENV=production
depends_on:
postgres:
condition: service_healthy
volumes:
- planka-files:/app/public/user-files
- planka-user-avatars:/app/public/user-avatars
- planka-project-background-images:/app/public/project-background-images
- planka-attachments:/app/private/attachments
networks:
- marcus-network
networks:
marcus-network:
driver: bridge
volumes:
postgres-data:
name: marcus-postgres-data
planka-files:
planka-user-avatars:
planka-project-background-images:
planka-attachments:
# Usage:
# ======
#
# Start infrastructure (Planka + Postgres):
# docker compose up -d
#
# View logs:
# docker compose logs -f planka
#
# Stop services:
# docker compose down
#
# Access:
# - Planka Board: http://localhost:3333 (demo@demo.demo / demo)
#
# Note:
# Marcus and Cato run locally (not in Docker) because agents
# write to the local filesystem. Docker is only for Planka
# and Postgres infrastructure.