security: move sensitive data to environment variables

This commit is contained in:
Erik
2026-03-07 18:36:27 -03:00
parent 3abbad251b
commit 5b08922f08
3 changed files with 28 additions and 14 deletions

View File

@@ -1,12 +1,7 @@
# Database Configuration
POSTGRES_USER=admin
POSTGRES_PASSWORD=adminpassword
POSTGRES_DB=occto_db
DATABASE_URL=postgresql://admin:adminpassword@postgres:5432/occto_db?schema=public
DATABASE_URL=postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=occto
# MinIO Configuration
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=adminpassword
# MinIO / S3 Configuration
MINIO_ENDPOINT=minio
MINIO_PORT=9000
MINIO_USE_SSL=false
@@ -16,4 +11,6 @@ MINIO_BUCKET_NAME=occto-images
# Application
NODE_ENV=production
JWT_SECRET=b33500bb3dc5504535c34cc5f79f4ca0f60994b093bded14d48f76c0c090f032234693219e60398cab053a9c55c1d426ef7b1768104db9040254ba7db452f708
DOMAIN=localhost
JWT_SECRET=generate_a_random_string_here
LIBRETRANSLATE_URL=https://libretranslate.stackbyte.cloud