fix(gotosocial): use HTTPS scheme

the config option is for URL generation, not to set server listen mode
This commit is contained in:
JJGadgets
2024-09-17 13:16:40 +08:00
parent 237436eabc
commit 3761052005

View File

@@ -37,15 +37,11 @@ spec:
tag: "0.16.0@sha256:54c0e2833f426b810861d8bc7b5633ca8119f2fa234a4ddaeb422519c04fca97"
env: &env
TZ: "${CONFIG_TZ}"
# tmp
GTS_LOG_LEVEL: trace
GTS_LOG_DB_QUERIES: "true"
# tmp
GTS_APPLICATION_NAME: "The JJGadgets Hut"
GTS_LANDING_PAGE_USER: "jj"
GTS_HOST: &host "social.jjgadgets.tech"
GTS_ACCOUNT_DOMAIN: "jjgadgets.tech"
GTS_PROTOCOL: "http"
GTS_PROTOCOL: "https" # not HTTP server listen mode, but used for generating URLs etc
GTS_PORT: "8080"
GTS_TRUSTED_PROXIES: "${IP_POD_CIDR_V4}"
GTS_ACCOUNTS_REGISTRATION_OPEN: "false"
@@ -56,7 +52,7 @@ spec:
GTS_DB_TYPE: "postgres"
GTS_DB_TLS_MODE: "enable"
GTS_DB_TLS_CA_CERT: &pgca /secrets/pg/ca.crt
GTS_DB_ADDRESS: "pg-gotosocial-primary.gotosocial.svc.cluster.local"
GTS_DB_ADDRESS: "pg-gotosocial-pgbouncer.gotosocial.svc.cluster.local"
# valueFrom:
# secretKeyRef:
# name: &pgsec "pg-gotosocial-pguser-gotosocial"