The Docker configuration for Calendso is an effort powered by people within the community. Calendso does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
Make sure you have docker
& docker-compose
installed on the server / system.
-
Clone calendso-docker
git clone --recursive https://github.com/calendso/docker.git calendso-docker
-
Change into the directory
cd calendso-docker
-
Rename
.env.example
to.env
and update if needed. For local development and production use-cases, jump to the Secrets Management section. We strongly encourage using a secrets manager to securely store secrets. ENV files lead to accidental leaks and breaches. -
Build and start calendso
docker-compose up --build
-
Start prisma studio
docker-compose exec calendso npx prisma studio
-
Open a browser to http://localhost:5555 to look at or modify the database content.
-
Click on the
User
model to add a new user record. -
Fill out the fields (remembering to encrypt your password with BCrypt) and click
Save 1 Record
to create your first user. -
Open a browser to http://localhost:3000 and login with your just created, first user.
We strongly recommend using Doppler to securely store and manage secrets across devices, environments, and team members.
-
Import our project to get setup.
-
Create a service token.
-
Build and start calendso with Doppler
DOPPLER_TOKEN=dp.st.XXXXXXX docker-compose up --build
This repository uses a git submodule.
If you cloned the repository without using --recursive
, then you can initialize and clone the submodule with the following steps.
-
Init the submodule
git submodule init
-
Update the submodule
git submodule update --remote
For more advanced usage, please refer to the git documentation: https://git-scm.com/book/en/v2/Git-Tools-Submodules