Load backend secrets from Vault
Some checks failed
Build and deploy Backend / build (push) Failing after 27s

This commit is contained in:
Ruslan Bakiev
2026-05-08 16:57:41 +07:00
parent f956148141
commit e55a7f1f37
3 changed files with 69 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
import 'dotenv/config';
import { loadVaultEnvironment } from './vault/env.js';
await loadVaultEnvironment();
export const config = {
host: process.env.HOST ?? '0.0.0.0',
port: Number(process.env.PORT ?? '4000'),