example deployment:
- install a psql database
- create deployment
helm install calendso-psql bitnami/postgresql \
--set persistence.size=100Mi \
--set global.postgresql.postgresqlDatabase=calendso \
--set global.postgresql.postgresqlUsername=calendso \
--set global.postgresql.postgresqlPassword=changeme
apiVersion: apps/v1
kind: Deployment
metadata:
name: calendso-deployment
labels:
app: calendso
spec:
replicas: 1
selector:
matchLabels:
app: calendso
template:
metadata:
labels:
app: calendso
spec:
containers:
- name: calendso
image: guestros/calendso-githubbuild:latest
ports:
- containerPort: 3000
env:
- name: POSTGRES_USER
value: calendso
- name: POSTGRES_PASSWORD
value: changeme
- name: POSTGRES_DB
value: calendso
- name: POSTGRES_HOST
value: calendso-postgresql
- name: EMAIL_FROM
value: "asdasasdasdsad@datafortress.cloud"
- name: EMAIL_SERVER_HOST
value: "asasd.adsasdasdasdsad.eu"
- name: EMAIL_SERVER_PORT
value: "465"
- name: EMAIL_SERVER_USER
value: "asdasdasasdd@datafortress.cloud"
- name: EMAIL_SERVER_PASSWORD
value: "asdasdas"
---
apiVersion: v1
kind: Service
metadata:
name: calendso-service
spec:
selector:
app: calendso
ports:
- protocol: TCP
port: 8002
targetPort: 3000
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 git@github.com:calendso/calendso-docker.git --recursive
-
Update
.env
if needed -
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.