Skip to content

Commit

Permalink
Update readme-vars.yml
Browse files Browse the repository at this point in the history
Adding :Z to the -v parameter will cause docker to automaticly relabel the specified files to the proper permissions eliminating permission denied errors https://stackoverflow.com/questions/35218194/what-is-z-flag-in-docker-containers-volumes-from-option
  • Loading branch information
fennectech authored May 24, 2024
1 parent 7b6e02d commit d84c132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ param_env_vars:
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
param_usage_include_vols: true
param_volumes:
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config:Z", desc: "Persistent config files" }
param_usage_include_ports: false
param_device_map: false
cap_add_param: false
Expand Down

0 comments on commit d84c132

Please sign in to comment.