Switch database connections to mTLS auth on new server
Unit files now use the direct mTLS connection string (no password) and deploy script no longer extracts or injects a database password. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ Environment=RUST_LOG=debug,ort=off,sqlx::query=off,hyper_util=off
|
||||
ExecStart=/usr/local/bin/rbv-caption \
|
||||
--model %i \
|
||||
--model-dir /var/lib/rbv/models \
|
||||
--database postgres://rbv:password@gramathea.kosherinata.internal:4432/rbv \
|
||||
--database postgres://rbv@10.3.0.194:5432/rbv?sslmode=verify-full&sslrootcert=/etc/pki/ca-trust/source/anchors/root-internal.pem&sslcert=/etc/pki/tls/misc/%H.pem&sslkey=/etc/pki/tls/private/%H.pem \
|
||||
--cdn-map /tank/data/rbv/vault=https://rbv.internal/vault \
|
||||
--batch-size 100
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user