fix(compose): Fix bash var quoting
This commit is contained in:
parent
ab9b1009cb
commit
117627889f
@ -86,7 +86,7 @@ Create ZFS datasets and set permissions as needed.
|
|||||||
|
|
||||||
* Change ownership
|
* Change ownership
|
||||||
```
|
```
|
||||||
chown -R 1000:1000 '/opt/docker-data/grafana-${COMPOSE_CTX}/grafana/data/'{*,.*}
|
chown -R 1000:1000 '/opt/docker-data/grafana-'"${COMPOSE_CTX}"'/grafana/data/'*
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional files
|
## Additional files
|
||||||
|
@ -90,7 +90,7 @@ Create ZFS datasets and set permissions as needed.
|
|||||||
|
|
||||||
* Change ownership
|
* Change ownership
|
||||||
```
|
```
|
||||||
chown -R 1000:1000 '/opt/docker-data/vault-${COMPOSE_CTX}/vault/data/'{*,.*}
|
chown -R 1000:1000 '/opt/docker-data/vault-'"${COMPOSE_CTX}"'/vault/data/'*
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional files
|
## Additional files
|
||||||
|
@ -125,7 +125,7 @@ Create ZFS datasets and set permissions as needed.
|
|||||||
{%- set components = cookiecutter.__component_list_slug.split(',') -%}
|
{%- set components = cookiecutter.__component_list_slug.split(',') -%}
|
||||||
{% for component in components %}
|
{% for component in components %}
|
||||||
{%- if loop.first %}
|
{%- if loop.first %}
|
||||||
chown -R 1000:1000 '/opt/docker-data/{{ cookiecutter.__service_slug }}-${COMPOSE_CTX}/{{ cookiecutter.__service_slug }}/data/'{*,.*}
|
chown -R 1000:1000 '/opt/docker-data/{{ cookiecutter.__service_slug }}-'"${COMPOSE_CTX}"'/{{ cookiecutter.__service_slug }}/data/'*
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user