- Make sure you have installed
dockeranddocker composein your machine.
- Clone this repository
git clone https://github.com/oaizab/calcom-docker.git- Go to the project directory
cd calcom-docker- Prepare the environment
cp .env.example .env- Edit the
.envfile and set the values for the environment variables.
CALCOM_LICENSE_KEYis the licence key provided by Calcom. (optional)
NEXT_PUBLIC_WEBAPP_URLis the URL of the webapp. (optional)
NEXTAUTH_URLis the location of the authentication server. It should be the same as{NEXT_PUBLIC_WEBAPP_URL}/api/auth. (optional)
NEXTAUTH_SECRETis a secret key used by the authentication server. (required)openssl rand -base64 32sould be same a used in build step or pull.
CALENDSO_ENCRYPTION_KEYis a secret key used by the calendar server. (required)openssl rand -base64 24sould be same a used in build step or pull.
DATABASE_URLis the URL of the database. (required)
DATABASE_DIRECT_URLis the URL of the database used by the direct connection. (optional)
- Pre-pull the images
docker compose pull- Start the services
docker compose up -d- to start only the services needed for the webapp, make sure the database is running and run:
docker compose up -d calcom-
Access the webapp at the URL you set in the
.envfile. -
Setup admin user
- Make sure the password is longer than 15 characters.
- If you see a yellow warning, set the password again and longer.
- After setting the password, you will be redirected to the login page.
- If you don't see the admin settings set up 2fa and then you will see the admin settings.