services: postgres: image: postgres:16-alpine volumes: - calcom-data:/var/lib/postgresql/data environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=password - POSTGRES_DB=db - DATABASE_URL=postgres://postgres:password@postgres:5432/db calcom: image: calcom/cal.com:v2.7.6 depends_on: - postgres environment: - NEXTAUTH_SECRET=${NEXTAUTH_SECRET} - CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} - DATABASE_URL=postgres://postgres:password@postgres:5432/db - NEXT_PUBLIC_WEBAPP_URL=http://${CALCOM_HOST} - NEXTAUTH_URL=http://${CALCOM_HOST}/api/auth volumes: calcom-data: