-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
feat: update configuration files to enhance permissions and streamline Docker setup #624
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
base: main
Are you sure you want to change the base?
Changes from all commits
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 | ||
|---|---|---|---|---|
|
|
@@ -3,6 +3,7 @@ services: | |||
| build: | ||||
| context: . | ||||
| dockerfile: Dockerfile | ||||
| network: host | ||||
|
||||
| network: host |
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.
This creates a redundant permission entry. The file already has
Bash(docker-compose ps:*)andBash(docker-compose logs:*)on lines 4-5, which use the hyphenateddocker-composecommand. This new entry uses the space-separateddocker composesyntax.While both syntaxes are valid (Docker Compose V2 uses
docker composewithout the hyphen), having both patterns is inconsistent. Consider either:docker composeas it's the modern V2 syntax)Bash(docker*compose*:*)to cover both syntaxes