This repository was archived by the owner on Oct 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,7 @@ EMAIL_SERVER_USER=email_user
6161EMAIL_SERVER_PASSWORD = email_password
6262
6363NODE_ENV = production
64+
65+ # Set this to 'non-strict' to enable CSP for support pages. 'strict' isn't supported yet. Also, check the README for details.
66+ # Content Security Policy
67+ CSP_POLICY =
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
3030 NEXT_PUBLIC_SINGLE_ORG_SLUG=$NEXT_PUBLIC_SINGLE_ORG_SLUG \
3131 ORGANIZATIONS_ENABLED=$ORGANIZATIONS_ENABLED \
3232 NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} \
33- BUILD_STANDALONE=true
33+ BUILD_STANDALONE=true \
34+ CSP_POLICY=$CSP_POLICY
3435
3536COPY calcom/package.json calcom/yarn.lock calcom/.yarnrc.yml calcom/playwright.config.ts calcom/turbo.json calcom/i18n.json ./
3637COPY calcom/.yarn ./.yarn
@@ -90,3 +91,4 @@ HEALTHCHECK --interval=30s --timeout=30s --retries=5 \
9091 CMD wget --spider http://localhost:3000 || exit 1
9192
9293CMD ["/calcom/scripts/start.sh" ]
94+
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ services:
3737 CALENDSO_ENCRYPTION_KEY : ${CALENDSO_ENCRYPTION_KEY}
3838 DATABASE_URL : ${DATABASE_URL}
3939 DATABASE_DIRECT_URL : ${DATABASE_URL}
40+ CSP_POLICY : ${CSP_POLICY}
4041 restart : always
4142 networks :
4243 - stack
@@ -68,3 +69,4 @@ services:
6869 - prisma
6970 - studio
7071# END SECTION: Optional use of Prisma Studio.
72+
You can’t perform that action at this time.
0 commit comments