Compare commits

..

1 Commits

Author SHA1 Message Date
actions-user
144772c90d tag version Cal.com version v5.0.12 2025-03-05 18:42:54 +00:00
7 changed files with 13 additions and 13 deletions

View File

@@ -51,7 +51,6 @@ ZOOM_CLIENT_SECRET=
# E-mail settings
# Configures the global From: header whilst sending emails.
EMAIL_FROM_NAME=YourOrganizationName
EMAIL_FROM=notifications@example.com
# Configure SMTP settings (@see https://nodemailer.com/smtp/).

View File

@@ -1,4 +1,4 @@
FROM node:18 AS builder
FROM node:18 as builder
WORKDIR /calcom
@@ -29,12 +29,11 @@ COPY calcom/packages ./packages
COPY calcom/tests ./tests
RUN yarn config set httpTimeout 1200000
RUN npx turbo prune --scope=@calcom/web --scope=@calcom/trpc --docker
RUN npx turbo prune --scope=@calcom/web --docker
RUN yarn install
RUN yarn db-deploy
RUN yarn --cwd packages/prisma seed-app-store
# Build and make embed servable from web/public/embed folder
RUN yarn workspace @calcom/trpc run build
RUN yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
RUN yarn --cwd apps/web workspace @calcom/web run build
@@ -42,12 +41,12 @@ RUN yarn --cwd apps/web workspace @calcom/web run build
# yarn workspaces focus --all --production
RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
FROM node:18 AS builder-two
FROM node:18 as builder-two
WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV=production
ENV NODE_ENV production
COPY calcom/package.json calcom/.yarnrc.yml calcom/turbo.json calcom/i18n.json ./
COPY calcom/.yarn ./.yarn
@@ -65,7 +64,7 @@ ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
FROM node:18 AS runner
FROM node:18 as runner
WORKDIR /calcom
@@ -74,7 +73,7 @@ ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
ENV NODE_ENV=production
ENV NODE_ENV production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=30s --retries=5 \

View File

@@ -52,7 +52,7 @@ If you are evaluating Cal.com or running with minimal to no modifications, this
1. Clone calcom/docker
```bash
git clone --recursive https://github.com/calcom/docker.git
git clone https://github.com/calcom/docker.git
```
2. Change into the directory

2
calcom

Submodule calcom updated: d15490d5aa...34cff214dd

View File

@@ -1,4 +1,5 @@
# Use postgres/example user/password credentials
version: '3.8'
volumes:
database-data:

View File

@@ -23,4 +23,4 @@ services:
databases:
- name: cal-postgres
plan: basic-1gb
plan: starter

View File

@@ -10,6 +10,7 @@ fi
# Only peform action if $FROM and $TO are different.
echo "Replacing all statically built instances of $FROM with $TO."
for file in $(egrep -r -l "${FROM}" apps/web/.next/ apps/web/public/); do
sed -i -e "s|$FROM|$TO|g" "$file"
find apps/web/.next/ apps/web/public -type f |
while read file; do
sed -i "s|$FROM|$TO|g" "$file"
done