From 905d7e7c6e45d3700a41b84b22aa8037696e6036 Mon Sep 17 00:00:00 2001 From: Chen Gu Date: Sun, 10 May 2026 16:21:54 +0800 Subject: [PATCH] fix: remove hardcoded secrets from docker-compose.yml --- .env.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.example b/.env.example index 46b1afd..bb5a4d4 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,9 @@ # 数据库连接 DATABASE_URL="postgresql://postgres:password@localhost:5432/maqt?schema=public" +# PostgreSQL 密码(docker-compose 使用,请修改) +POSTGRES_PASSWORD="your-postgres-password" + # JWT 密钥(请修改为随机字符串) JWT_SECRET="your-super-secret-jwt-key-change-this-in-production"