Skip to content

Latest commit

 

History

History
56 lines (48 loc) · 1.73 KB

instalation.md

File metadata and controls

56 lines (48 loc) · 1.73 KB

Instalation

Requirements

  • Make sure you have installed docker and docker compose in your machine.

Steps

  1. Clone this repository
git clone https://github.com/oaizab/calcom-docker.git
  1. Go to the project directory
cd calcom-docker
  1. 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)

  1. Pre-pull the images
docker compose pull
  1. 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
  1. Access the webapp at the URL you set in the .env file.

  2. 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.