fixed geoip tag
This commit is contained in:
+10
-11
@@ -205,7 +205,7 @@ spec:
|
||||
mkdir -p /calcom/apps/web/public/app-store/googlevideo
|
||||
cp /calcom/packages/app-store/googlevideo/static/logo.webp /calcom/apps/web/public/app-store/googlevideo/logo.webp
|
||||
echo "Copied googlevideo logo.webp to public folder"
|
||||
|
||||
|
||||
echo "Starting Cal.com..."
|
||||
cd /calcom
|
||||
exec ./scripts/start.sh
|
||||
@@ -218,7 +218,7 @@ spec:
|
||||
value: "false"
|
||||
- name: CALCOM_TELEMETRY_DISABLED
|
||||
value: "1"
|
||||
|
||||
|
||||
# URLs
|
||||
- name: NEXT_PUBLIC_WEBAPP_URL
|
||||
value: "https://booking.dooplex.hu"
|
||||
@@ -247,11 +247,10 @@ spec:
|
||||
- name: DATABASE_DIRECT_URL
|
||||
value: "postgresql://$(DB_USER):$(DB_PASS)@postgresql-rw.database-system.svc.cluster.local:5432/calcom"
|
||||
|
||||
|
||||
# Redis
|
||||
- name: REDIS_URL
|
||||
value: "redis://calcom-redis:6379"
|
||||
|
||||
|
||||
# Auth secrets
|
||||
- name: NEXTAUTH_SECRET
|
||||
valueFrom:
|
||||
@@ -263,7 +262,7 @@ spec:
|
||||
secretKeyRef:
|
||||
name: calcom-app
|
||||
key: calendso-encryption-key
|
||||
|
||||
|
||||
# Email/SMTP
|
||||
- name: EMAIL_FROM
|
||||
valueFrom:
|
||||
@@ -290,7 +289,7 @@ spec:
|
||||
secretKeyRef:
|
||||
name: smtp-credentials
|
||||
key: password
|
||||
|
||||
|
||||
# Stripe (optional - for payments)
|
||||
- name: STRIPE_API_KEY
|
||||
valueFrom:
|
||||
@@ -311,7 +310,7 @@ spec:
|
||||
value: "0"
|
||||
- name: PAYMENT_FEE_FIXED
|
||||
value: "0"
|
||||
|
||||
|
||||
# Google Calendar (optional)
|
||||
- name: GOOGLE_API_CREDENTIALS
|
||||
valueFrom:
|
||||
@@ -320,11 +319,11 @@ spec:
|
||||
key: google-api-credentials
|
||||
- name: GOOGLE_LOGIN_ENABLED
|
||||
value: "false"
|
||||
|
||||
|
||||
# Timezone
|
||||
- name: TZ
|
||||
value: "Europe/Budapest"
|
||||
|
||||
|
||||
# Misc
|
||||
- name: NODE_ENV
|
||||
value: "production"
|
||||
@@ -408,7 +407,7 @@ metadata:
|
||||
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
|
||||
nginx.ingress.kubernetes.io/proxy-set-headers: "booking-system/calcom-proxy-headers"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
if ($geoip2_city_country_code != "HU") {
|
||||
if ($geoip2_country_code != "HU") {
|
||||
return 403 "Access restricted to Hungary";
|
||||
}
|
||||
spec:
|
||||
@@ -496,4 +495,4 @@ data:
|
||||
# targetPort: 5555
|
||||
# selector:
|
||||
# app.kubernetes.io/instance: calcom
|
||||
# app.kubernetes.io/name: prisma-studio
|
||||
# app.kubernetes.io/name: prisma-studio
|
||||
|
||||
Reference in New Issue
Block a user