- Make sure you have installed
docker
anddocker compose
in 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
.env
file and set the values for the environment variables.
CALCOM_LICENSE_KEY
is the licence key provided by Calcom. (optional)
NEXT_PUBLIC_WEBAPP_URL
is the URL of the webapp. (optional)
NEXTAUTH_URL
is the location of the authentication server. It should be the same as{NEXT_PUBLIC_WEBAPP_URL}/api/auth
. (optional)
NEXTAUTH_SECRET
is a secret key used by the authentication server. (required)openssl rand -base64 32
sould be same a used in build step or pull.
CALENDSO_ENCRYPTION_KEY
is a secret key used by the calendar server. (required)openssl rand -base64 24
sould be same a used in build step or pull.
DATABASE_URL
is the URL of the database. (required)
DATABASE_DIRECT_URL
is 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
.env
file. -
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.