forked from calcom/cal.diy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 1.11 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
volumes:
redis-data:
networks:
dokploy-network:
external: true
services:
redis:
image: redis:latest
restart: always
volumes:
- redis-data:/data
networks:
- dokploy-network
calcom:
build:
context: .
dockerfile: Dockerfile
args:
NEXT_PUBLIC_WEBAPP_URL: ${NEXT_PUBLIC_WEBAPP_URL}
NEXT_PUBLIC_API_V2_URL: ${NEXT_PUBLIC_API_V2_URL}
NEXT_PUBLIC_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT}
CALCOM_TELEMETRY_DISABLED: ${CALCOM_TELEMETRY_DISABLED}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY}
# Use DIRECT URL for build (Prisma needs non-pooled connection)
DATABASE_URL: ${DATABASE_DIRECT_URL}
restart: always
networks:
- dokploy-network
ports:
- 3000:3000
environment:
# Runtime uses pooled connection
- DATABASE_URL=${DATABASE_URL}
- DATABASE_DIRECT_URL=${DATABASE_DIRECT_URL}
- REDIS_URL=redis://redis:6379
# Remove calcom-api unless you specifically need API v2
# Remove studio for production (security risk)