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:58] – [Directory Structure] peter | systems:media_server:set_up_the_docker_environment [2025/06/05 21:48] (current) – [Create and set permissions for the .env file] peter | ||
---|---|---|---|
Line 23: | Line 23: | ||
* **secrets** - to store credentials used by apps securely. | * **secrets** - to store credentials used by apps securely. | ||
* **shared** - to store shared information. | * **shared** - to store shared information. | ||
- | * **.env** - to store credentials used by apps securely as variable names. | ||
</ | </ | ||
Line 32: | 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 47: | Line 46: | ||
<code bash> | <code bash> | ||
touch / | touch / | ||
- | sudo chown root:root / | + | sudo chown peter:docker |
sudo chmod 600 / | sudo chmod 600 / | ||
</ | </ | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | |||
+ | * Setting permissions of the **secrets** directory to 600, makes this directory accessible only to the specified | ||
</ | </ |
systems/media_server/set_up_the_docker_environment.1749074334.txt.gz · Last modified: 2025/06/04 21:58 by peter