-
Notifications
You must be signed in to change notification settings - Fork 13
Added unix ops to docker compose #71
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: master
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 |
|---|---|---|
|
|
@@ -30,3 +30,7 @@ MYSQL_PASSWORD=password | |
| # GITHUB | ||
| GITHUB_CLIENT_ID= | ||
| GITHUB_CLIENT_SECRET= | ||
|
|
||
| # AWS | ||
| UNIX_OPS_SHARED_SECRET= | ||
| AUTOLAB_HOST_COURSES_ROOT=/home/ubuntu/autolab-docker/Autolab/courses | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Align host course path default with existing host-user convention. Line 36 uses 🔧 Suggested fix-AUTOLAB_HOST_COURSES_ROOT=/home/ubuntu/autolab-docker/Autolab/courses
+AUTOLAB_HOST_COURSES_ROOT=/home/ec2-user/autolab-docker/Autolab/courses🧰 Tools🪛 dotenv-linter (4.0.0)[warning] 36-36: [UnorderedKey] The AUTOLAB_HOST_COURSES_ROOT key should go before the UNIX_OPS_SHARED_SECRET key (UnorderedKey) 🤖 Prompt for AI Agents |
||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: autolab/docker
Length of output: 300
Use
:?errguard to reject empty secrets, not just unset variables.Line 35 sets
UNIX_OPS_SHARED_SECRET=to empty. Docker Compose's${UNIX_OPS_SHARED_SECRET?err}(lines 83, 112 in docker-compose.yml) only rejects unset variables, allowing empty values through. Change the guard from?errto:?errto reject both unset and empty secrets.Fix in .env.template:
Fix in docker-compose.yml (lines 83, 112):
📝 Committable suggestion
🤖 Prompt for AI Agents