Comments (8)
hey there, account creation is not part of the open core, yet. you need to use prisma studio if you self host. the majority of the self-host users have an existing user base already or have their own account creation and sync it up with the posgres of calendso.
from docker.
Awesome, thanks for the detail!
I'm talking with the cal.com team on slack about it
from docker.
Hello guys,
Do you know how limit registration to a specific domain ?
from docker.
I'm also having deployment problems. The schema.prisma is causing errors and I can't get beyond this.
from docker.
@Kfelts can you try docker log <containerID>
? But I don't think we have the same error.
from docker.
Thanks for the feedback y'all!
Logs and screenshots would be immensely helpful if you could provide some here
from docker.
@krumware Thank you for replying! So I have the following config(I haven't changed anything apartfrom copy and paste from repo):
.env
# Set this value to 'agree' to accept our license:
# LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE
#
# Summary of terms:
# - The codebase has to stay open source, whether it was modified or not
# - You can not repackage or sell the codebase
# - Acquire a commercial license to remove these terms by emailing: [email protected]
NEXT_PUBLIC_LICENSE_CONSENT=
LICENSE=
BASE_URL=http://localhost:3000
NEXT_PUBLIC_APP_URL=http://localhost:3000
POSTGRES_USER=unicorn_user
POSTGRES_PASSWORD=magical_password
POSTGRES_DB=calendso
DATABASE_HOST=database:5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
GOOGLE_API_CREDENTIALS={}
# Remove this var if you don't want Calendso to collect anonymous usage
NEXT_PUBLIC_TELEMETRY_KEY=js.2pvs2bbpqq1zxna97wcml.oi2jzirnbj1ev4tc57c5r
# Used for the Office 365 / Outlook.com Calendar integration
MS_GRAPH_CLIENT_ID=
MS_GRAPH_CLIENT_SECRET=
# Used for the Zoom integration
ZOOM_CLIENT_ID=
ZOOM_CLIENT_SECRET=
# E-mail settings
# Configures the global From: header whilst sending emails.
[email protected]
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
EMAIL_SERVER_HOST=smtp.example.com
EMAIL_SERVER_PORT=587
EMAIL_SERVER_USER=email_user
EMAIL_SERVER_PASSWORD=email_password
# Encryption key that will be used to encrypt CalDAV credentials, choose a random string, for example with `dd if=/dev/urandom bs=1K count=1 | md5sum`
CALENDSO_ENCRYPTION_KEY=
# It is highly recommended that the JWT secret must be overridden and very unique
JWT_SECRET=secret
NODE_ENV=production
version: '3.1'
volumes:
database-data:
networks:
stack:
external: false
services:
database:
image: postgres:14.1
restart: always
volumes:
- database-data:/var/lib/postgresql/data/
env_file: .env
networks:
- stack
calendso:
image: calendso/calendso:latest
restart: always
networks:
- stack
ports:
- 3000:3000
env_file: .env
depends_on:
- database
Reproduce:
Log in docker:
[nix-shell:~/calendso]$ docker-compose up
Starting calendso_database_1 ... done
Starting calendso_calendso_1 ... done
Attaching to calendso_database_1, calendso_calendso_1
calendso_1 | + /app/scripts/wait-for-it.sh database:5432 -- echo database is up
calendso_1 | nc command is missing!
calendso_1 | + npx prisma migrate deploy
database_1 |
database_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
database_1 |
database_1 | 2022-01-06 15:32:26.381 UTC [1] LOG: starting PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
database_1 | 2022-01-06 15:32:26.381 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
database_1 | 2022-01-06 15:32:26.381 UTC [1] LOG: listening on IPv6 address "::", port 5432
database_1 | 2022-01-06 15:32:26.405 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database_1 | 2022-01-06 15:32:26.436 UTC [26] LOG: database system was interrupted; last known up at 2022-01-06 15:24:45 UTC
database_1 | 2022-01-06 15:32:26.584 UTC [26] LOG: database system was not properly shut down; automatic recovery in progress
database_1 | 2022-01-06 15:32:26.593 UTC [26] LOG: redo starts at 0/181A8C0
database_1 | 2022-01-06 15:32:26.593 UTC [26] LOG: invalid record length at 0/181A8F8: wanted 24, got 0
database_1 | 2022-01-06 15:32:26.593 UTC [26] LOG: redo done at 0/181A8C0 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
database_1 | 2022-01-06 15:32:26.655 UTC [1] LOG: database system is ready to accept connections
calendso_1 | Prisma schema loaded from prisma/schema.prisma
calendso_1 | Datasource "db": PostgreSQL database "calendso", schema "public" at "database:5432"
calendso_1 |
calendso_1 | 53 migrations found in prisma/migrations
calendso_1 |
calendso_1 | No pending migrations to apply.
calendso_1 | ┌─────────────────────────────────────────────────────────┐
calendso_1 | │ Update available 3.0.2 -> 3.7.0 │
calendso_1 | │ Run the following to update │
calendso_1 | │ npm i --save-dev prisma@latest │
calendso_1 | │ npm i @prisma/client@latest │
calendso_1 | └─────────────────────────────────────────────────────────┘
calendso_1 | + yarn start
calendso_1 | yarn run v1.22.15
calendso_1 | $ next start
calendso_1 | ready - started server on 0.0.0.0:3000, url: http://localhost:3000
calendso_1 | prisma:query SELECT "public"."users"."id", "public"."users"."username", "public"."users"."email", "public"."users"."name", "public"."users"."bio", "public"."users"."avatar", "public"."users"."theme", "public"."users"."plan" FROM "public"."users" WHERE "public"."users"."username" = $1 LIMIT $2 OFFSET $3
calendso_1 | prisma:query SELECT "public"."users"."id", "public"."users"."username", "public"."users"."email", "public"."users"."name", "public"."users"."bio", "public"."users"."avatar", "public"."users"."theme", "public"."users"."plan" FROM "public"."users" WHERE "public"."users"."username" = $1 LIMIT $2 OFFSET $3
calendso_1 | prisma:query SELECT "public"."users"."id", "public"."users"."username", "public"."users"."email", "public"."users"."name", "public"."users"."bio", "public"."users"."avatar", "public"."users"."theme", "public"."users"."plan" FROM "public"."users" WHERE "public"."users"."username" = $1 LIMIT $2 OFFSET $3
from docker.
Thanks. This is a really promising project, good job!
from docker.
Related Issues (20)
- Authentication Issue - Logging into Cal.com selfhosted HOT 11
- Issue with docker hub images HOT 18
- Error on `DOCKER_BUILDKIT=0 docker compose build calcom`: Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation) HOT 2
- i run into this error when i try logging into calcom" https://api/auth/error"
- Invalid key length on CALENDSO_ENCRYPTION KEY HOT 1
- docker compose up -d calcom is misleading, it still runs database HOT 3
- localhost:3000 is misleading HOT 2
- Issue with google integration
- Not able to login after upgrade HOT 2
- Versions 3.8.4+ are not published HOT 1
- Context deadline exceeded during build process
- SMTP server configuration only working/used when running on Laptop, but not virtual host HOT 1
- docker compose build failed with errors HOT 15
- google calendar connection doesn't work
- can we remove sign up for calcom HOT 1
- invalid prisma user? HOT 2
- Update hub.docker HOT 5
- 要是支持Luna日历就好了
- @calcom/web:build: ERROR: command finished with error: command (/calcom/apps/web) yarn run build exited (129) HOT 5
- App switch on on restart HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.