-
Notifications
You must be signed in to change notification settings - Fork 37
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(docs): add dynamic Docker installation #199
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for homarr-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration | ||
- ./homarr/appdata:/appdata | ||
environment: | ||
- SECRET_ENCRYPTION_KEY=${randomHex} |
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.
I really like this idea. But since this changes on every page render, Agos testing will fail when comparing images.
Therefore you need to exclude this specific code block. Please do that.
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.
Yup I did that according to the argos docs the tag when the component is called in the mdx page (the data- field) will render a black box for the component
Introduce a dynamic Docker installation snippet that generates a random encryption key for the Docker Compose setup (using the browser's Crypto API)
![image](https://private-user-images.githubusercontent.com/49837342/409308240-bcb50283-81aa-4d2e-82ff-c7d9b95d1e56.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzIxMDgsIm5iZiI6MTczOTAzMTgwOCwicGF0aCI6Ii80OTgzNzM0Mi80MDkzMDgyNDAtYmNiNTAyODMtODFhYS00ZDJlLTgyZmYtYzdkOWI5NWQxZTU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE2MjMyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkMWNiZTBlYzE2ZjE5MTNlNmJmYzNkZGU3M2I4NjUxN2EyZDc5MzgzZDRhNWJmYWI1NjYyMWU3NmMwMDIzOGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.l9MFUwHGfp73tuOQD6s85Wnxqvz5UhaX27imahkwBaA)