-
Notifications
You must be signed in to change notification settings - Fork 4
Feat/evoting #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/evoting #273
Changes from 6 commits
c9f4a17
1ace84b
9edc741
7776a35
e1115c2
093a692
1fe79d8
4b41c8d
8fbe7b0
a4d467e
85b1cbb
8940bed
e2f1332
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
services: | ||
db: | ||
image: postgres:16 | ||
container_name: dev-evoting-db | ||
environment: | ||
POSTGRES_USER: evoting | ||
POSTGRES_PASSWORD: evoting | ||
POSTGRES_DB: evoting | ||
volumes: | ||
- ./db/data:/var/lib/postgresql/data | ||
ports: | ||
- "5432:5432" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cache |
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Weak default credentials for database.
Using
evoting
as both username and password creates a security vulnerability, even in development environments. For an eVoting system, this is particularly concerning.Consider using environment variables with stronger defaults:
Or add a comment indicating this is for development only:
+ # WARNING: Development only - use strong credentials in production db: image: postgres:16
🤖 Prompt for AI Agents