docs(docker-compose): Align pointers

This commit is contained in:
hygienic-books 2022-06-06 04:42:40 +02:00
parent 4c88acc64b
commit d36e30638c

View File

@ -24,7 +24,7 @@ Your four answers translate as follows into rendered files.
1. The `project_slug` is used only as directory name. A container named `vault` may be fine but the project directory name `hashicorpvault` might be more descriptive. 1. The `project_slug` is used only as directory name. A container named `vault` may be fine but the project directory name `hashicorpvault` might be more descriptive.
``` ```
. .
└── hashicorpvault <--- Here └── hashicorpvault <--- Here
├── build-context ├── build-context
│   ├── docker-data │   ├── docker-data
│   │   └── .gitkeep │   │   └── .gitkeep
@ -50,13 +50,13 @@ Your four answers translate as follows into rendered files.
3. Treat `component_list` as the list of Docker images that make up your service. Each `docker-compose` project forms a *__service__* - see above - that consists of either a single or multiple *__components__*. They're your `services:`, your container, volume, variable names etc.: 3. Treat `component_list` as the list of Docker images that make up your service. Each `docker-compose` project forms a *__service__* - see above - that consists of either a single or multiple *__components__*. They're your `services:`, your container, volume, variable names etc.:
``` ```
services: services:
grafana: <--- grafana: <---
image: "grafana:${GRAFANA_VERSION}" <--- image: "grafana:${GRAFANA_VERSION}" <---
container_name: "grafana-grafana-${CONTEXT}" <--- container_name: "grafana-grafana-${CONTEXT}" <---
... ...
environment: environment:
# GRAFANA_USER: ${GRAFANA_USER} <--- # GRAFANA_USER: ${GRAFANA_USER} <---
# GRAFANA_PASSWORD: ${GRAFANA_PASSWORD} <--- # GRAFANA_PASSWORD: ${GRAFANA_PASSWORD} <---
... ...
``` ```
@ -66,7 +66,7 @@ Your four answers translate as follows into rendered files.
└── grafana └── grafana
... ...
└── env └── env
└── fully.qualified.domain.name.example <--- └── fully.qualified.domain.name.example <---
``` ```
Which then looks like: Which then looks like: