systems:media_server:set_up_the_docker_environment
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
systems:media_server:set_up_the_docker_environment [2025/06/04 21:59] – [Create and set permissions for the .env file] peter | systems:media_server:set_up_the_docker_environment [2025/07/12 12:53] (current) – peter | ||
---|---|---|---|
Line 31: | Line 31: | ||
<code bash> | <code bash> | ||
- | sudo chown root:root / | + | sudo chown peter:docker |
sudo chmod 600 / | sudo chmod 600 / | ||
</ | </ | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
</ | </ | ||
Line 46: | Line 46: | ||
<code bash> | <code bash> | ||
touch / | touch / | ||
- | sudo chown root:root / | + | sudo chown peter:docker |
sudo chmod 600 / | sudo chmod 600 / | ||
</ | </ | ||
Line 53: | Line 53: | ||
**NOTE: | **NOTE: | ||
- | * Setting permissions of the **secrets** directory to 600, makes this directory accessible only to the root user, adding a layer of security while accessing sensitive information. | + | * Setting permissions of the **secrets** directory to 600, makes this directory accessible only to the specified |
</ | </ | ||
Line 82: | Line 82: | ||
---- | ---- | ||
- | ==== Set permission for / | + | ==== Set permission for / |
<code bash> | <code bash> | ||
Line 147: | Line 147: | ||
<code bash> | <code bash> | ||
- | mkdir / | + | mkdir -p / |
</ | </ | ||
systems/media_server/set_up_the_docker_environment.1749074377.txt.gz · Last modified: 2025/06/04 21:59 by peter