-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
56 lines (54 loc) · 1.66 KB
/
docker-compose-dev.yml
File metadata and controls
56 lines (54 loc) · 1.66 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
services:
kanban-app:
build: .
container_name: easy-kanban
ports:
- "3010:3010"
- "3222:3222"
environment:
- NODE_ENV=development
- DOCKER_ENV=true
- PORT=3222
- VITE_API_URL=http://localhost:3222
- REDIS_URL=redis://redis:6379
# JWT Secret for authentication (will be replaced by build.sh with random value)
- JWT_SECRET=your-super-secret-jwt-key-change-in-production
# Allowed origins for CORS
- ALLOWED_ORIGINS=
# Enable demo mode to show countdown timer for hourly resets (demo environments only)
- DEMO_ENABLED=false
- LICENSE_ENABLED=false
# Multi-tenant configuration (set to false for single-tenant Docker deployments)
- MULTI_TENANT=false
# Tenant domain (only used in multi-tenant mode, for extracting tenant ID from hostname)
# Example: If TENANT_DOMAIN=ezkan.cloud, then customer1.ezkan.cloud -> tenant ID: customer1
- TENANT_DOMAIN=ezkan.cloud
# Application version (optional, will override database value if set)
- APP_VERSION=0.9-beta
volumes:
- .:/app
- /app/node_modules
- kanban-data:/app/server/data
- kanban-attachments:/app/server/attachments
- kanban-avatars:/app/server/avatars
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:7-alpine
container_name: easy-kanban-redis
ports:
- "6379:6379"
volumes:
- redis_data:/data
command: redis-server --appendonly yes
restart: unless-stopped
volumes:
kanban-data:
driver: local
kanban-attachments:
driver: local
kanban-avatars:
driver: local
redis_data:
driver: local