fix(docker): 添加安全警告注释,补全 .env.example
This commit is contained in:
@@ -2,4 +2,5 @@ POSTGRES_USER=erp
|
|||||||
POSTGRES_PASSWORD=erp_dev_2024
|
POSTGRES_PASSWORD=erp_dev_2024
|
||||||
POSTGRES_DB=erp
|
POSTGRES_DB=erp
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
|
REDIS_PASSWORD=erp_redis_dev
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
|
# WARNING: 生产环境必须通过 .env 文件或环境变量覆盖默认密码
|
||||||
|
# 不要在生产环境使用默认密码
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user