API Configuration on Docker Swarm (Portainer) #23810
Unanswered
otnnek
asked this question in
Self-Hosting
Replies: 2 comments 4 replies
-
|
Hi @otnnek! I'm Dosu and I’m helping the cal.com team. To get Cal.com API running smoothly on Docker Swarm (Portainer), make sure your stack includes these essentials:
If you’re still stuck, check the API container logs for errors and verify all required environment variables are present. If you can share your actual To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
For sure @dosu version: "3.8"
services:
calcom:
image: calcom/cal.com:v5.6.13
networks:
- app_network
- traefik_public
environment:
- NEXT_PUBLIC_LICENSE_CONSENT=agree
- LICENSE=agree
- CALCOM_LICENSE_KEY=MY_LICENCE_KEY
- NEXT_PUBLIC_WEBAPP_URL=https://agenda.otnnek.com
- NEXT_PUBLIC_API_V2_URL=https://agenda.otnnek.com/api/v2
- BASE_URL=https://agenda.otnnek.com
- NEXTAUTH_URL=https://agenda.otnnek.com
- NEXT_PUBLIC_CONSOLE_URL=https://agenda.otnnek.com
- NEXT_PUBLIC_APP_URL=https://agenda.otnnek.com
- NEXT_PUBLIC_WEBSITE_URL=https://agenda.otnnek.com
- WEB_APP=https://agenda.otnnek.com
- NEXT_PUBLIC_APP_NAME="Otnnek Agenda"
- NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS="[email protected]"
- NEXT_PUBLIC_COMPANY_NAME="Otnnek"
- NEXTAUTH_SECRET=MY_SECRET_KEY
- CALENDSO_ENCRYPTION_KEY=MY_SECRET_KEY
- DATABASE_URL=postgresql://app_user:password@postgres:5432/calcom_database
- DATABASE_DIRECT_URL=postgresql://app_user:password@postgres:5432/calcom_database
- [email protected]
- EMAIL_SERVER_HOST=smtp.gmail.com
- EMAIL_SERVER_PORT=587
- [email protected]
- EMAIL_SERVER_PASSWORD=password
- NODE_ENV=production
- NEXT_PUBLIC_DISABLE_SIGNUP=true
deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager
labels:
- traefik.enable=true
- traefik.swarm.network=traefik_public
- traefik.http.routers.calcom.rule=Host(`agenda.otnnek.com`)
- traefik.http.routers.calcom.entrypoints=websecure
- traefik.http.routers.calcom.tls.certresolver=letsencrypt
- traefik.http.services.calcom.loadbalancer.server.port=3000
networks:
app_network:
external: true
traefik_public:
external: true |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently self-hosting a cal.com instance on my VPS using Docker with the attached stack.
I require assistance in configuring the stack to properly start the API. I have reviewed the documentation but was unable to find the necessary details. Could you please advise on what might be missing from this stack?
Thank you in advance for your support.
calcom.yml
Beta Was this translation helpful? Give feedback.
All reactions