calcom/apps/docs/pages/self-hosting/docker.mdx
Miguel Nieto A e36428de5d
Docs/prisma commands on docs (#1875)
* Update prisma commands

Prisma commands have changed due to the new project structure

* Set the type of code block to have code block style

* Apply required changes

* Update README
2022-02-21 20:47:50 +00:00

45 lines
1.3 KiB
Text

# Docker
The Docker configuration for Cal is an effort powered by people within the community. Cal does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
The Docker configuration can be found [in our docker repository](https://github.com/calcom/docker).
## Requirements
Make sure you have `docker` & `docker-compose` installed on the server / system.
## Getting Started
### Option #1: Docker Hub
```bash
docker pull calendso/calendso
```
or
### Option #2: Cloning
1. Clone calendso-docker
```bash
git clone git@github.com:calendso/calendso-docker.git --recursive
```
2. Update `.env` if needed
3. Build and start calendso
```bash
docker-compose up --build
```
4. Start prisma studio
```bash
docker-compose exec calendso -- npx prisma studio
```
5. Open a browser to [port 5555](http://localhost:5555) on your localhost to look at or modify the database content.
6. Click on the `User` model to add a new user record.
7. Fill out the fields (remembering to encrypt your password with [BCrypt](https://bcrypt-generator.com/)) and click `Save 1 Record` to create your first user.
8. Open a browser to [port 3000](http://localhost:3000) on your localhost and login with your just created, first user.