fix(deploy): reuse shared redis and serve dashboard at root
This commit is contained in:
+6
-3
@@ -7,10 +7,13 @@ GOCHAT_SERVER_MODE=release
|
||||
GOCHAT_SERVER_CORS_ALLOWED_ORIGINS=https://chat.CHANGE_ME.example.com
|
||||
GOCHAT_SERVER_TRUSTED_PROXIES=10.0.0.0/8
|
||||
GOCHAT_DATABASE_DSN=postgres://gochat:CHANGE_ME@db.CHANGE_ME.example.com:5432/gochat_production?sslmode=verify-full
|
||||
GOCHAT_REDIS_DSN=rediss://:CHANGE_ME@redis.CHANGE_ME.example.com:6380/0
|
||||
GOCHAT_REDIS_DSN=redis://redis:6379/1
|
||||
|
||||
# Release mode requires external PostgreSQL/Redis endpoints with verified TLS.
|
||||
# Set a complete GOCHAT_DATABASE_DSN with sslmode=verify-ca or verify-full.
|
||||
# Release mode requires external PostgreSQL and Redis endpoints. PostgreSQL must
|
||||
# set exactly one sslmode: use disable only on a trusted private network, or use
|
||||
# verify-ca/verify-full with the certificate settings below.
|
||||
# Redis may omit authentication only on a trusted private Docker network. Use
|
||||
# rediss:// with authentication when traffic crosses an untrusted network.
|
||||
# Compose passes this value unchanged to every database client. Keep these fixed
|
||||
# container paths in the DSN and point the host variables at untracked files.
|
||||
# GOCHAT_DATABASE_DSN='postgres://user:pass@db.example.com:5432/gochat?sslmode=verify-full&sslrootcert=/run/secrets/external-db-ca.crt&sslcert=/run/secrets/external-db-client.crt&sslkey=/run/secrets/external-db-client.key'
|
||||
|
||||
Reference in New Issue
Block a user