fix: Add annotations to prevent tools from falsely reporting security risks
This commit is contained in:
@@ -164,6 +164,7 @@ services:
|
|||||||
- "${DB_PORT}:5432"
|
- "${DB_PORT}:5432"
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${DB_USER}
|
- POSTGRES_USER=${DB_USER}
|
||||||
|
# NOCC:hardcode-password(工具误报)
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
- POSTGRES_DB=${DB_NAME}
|
- POSTGRES_DB=${DB_NAME}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user