Skip to content

Commit 6eb3701

Browse files
committed
1 parent 93b84e1 commit 6eb3701

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.env

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ MAXRECORDS=1000
1414
STORE=redis
1515
REDIS_URL=redis://10.254.1.51:6379
1616

17-
# Enable a demo page on http://localhost:8080 when true
17+
# Enable a demo page on http://localhost:8000 when true
1818
DEMO=true
1919
DEMO_PORT=8000
20+
21+
# Analytics & Dashboard
22+
POSTGRES_URL=postgres://altcha:altcha@10.254.1.51:5432/altcha?sslmode=disable
23+
AUTH_PROVIDER=basic
24+
AUTH_USERNAME=admin
25+
AUTH_PASSWORD=admin
26+
27+
GEOIP_DB=database/GeoLite2-Country.mmdb

examples/k8s/ing.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ kind: Ingress
3232
metadata:
3333
name: altcha-internal
3434
annotations:
35+
cert-manager.io/cluster-issuer: letsencrypt-prod
3536
nginx.ingress.kubernetes.io/ssl-redirect: "false"
3637
spec:
3738
ingressClassName: nginx-internal
@@ -46,6 +47,10 @@ spec:
4647
name: altcha
4748
port:
4849
name: http
50+
tls:
51+
- hosts:
52+
- altcha.internal.example.com
53+
secretName: altcha.internal.example.com
4954
---
5055
# Dashboard Ingress (internal): analytics dashboard
5156
apiVersion: networking.k8s.io/v1

0 commit comments

Comments
 (0)