docs(docker-compose): Update README.md with example directory structure
This commit is contained in:
@@ -87,4 +87,38 @@ Create ZFS datasets and set permissions as needed.
|
||||
{%- endfor %}
|
||||
```
|
||||
|
||||
## Additional files
|
||||
|
||||
Place the following files on target server. Use the directory structure at [build-context](build-context) as a guide, specifically at `docker-data`.
|
||||
|
||||
```
|
||||
build-context/
|
||||
{%- if ',' in cookiecutter.__component_list_slug -%}
|
||||
{%- set components = cookiecutter.__component_list_slug.split(',') -%}
|
||||
{%- for component in components %}
|
||||
{%- if not loop.last %}
|
||||
├── {{ component }}
|
||||
│ ├── docker-data
|
||||
│ | └── config
|
||||
│ │ └── {{ component }}.cfg
|
||||
│ ├── Dockerfile
|
||||
│ └── extras
|
||||
{%- else %}
|
||||
└── {{ component }}
|
||||
├── docker-data
|
||||
| └── config
|
||||
│ └── {{ component }}.cfg
|
||||
├── Dockerfile
|
||||
└── extras
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- else %}
|
||||
├── docker-data
|
||||
│ └── config
|
||||
│ └── {{ cookiecutter.__service_slug }}.cfg
|
||||
├── Dockerfile
|
||||
└── extras
|
||||
{%- endif %}
|
||||
```
|
||||
|
||||
When done head back up to [How to run](#how-to-run).
|
||||
|
Reference in New Issue
Block a user