Update readme-docker-compose.md
This commit is contained in:
parent
767af25a5f
commit
4418840ddb
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
In the root folder of the repo are all docker-compose files (`docker-compose*.yml`). Here is a list of all of them and what is their purpose:
|
In the root folder of the repo are all docker-compose files (`docker-compose*.yml`). Here is a list of all of them and what is their purpose:
|
||||||
|
|
||||||
## Container build
|
|
||||||
|
|
||||||
* `docker-compose.ci.build.yml`: This file is for starting the build container to build the project using a container that has all needed prerequisites. Refer to [corresponding wiki section](https://github.com/dotnet-architecture/eShopOnContainers/wiki/03.-Setting-the-eShopOnContainers-solution-up-in-a-Windows-CLI-environment-(dotnet-CLI,-Docker-CLI-and-VS-Code)#build-the-bits-through-the-build-container-image) for more information.
|
|
||||||
|
|
||||||
## Files needed to run eShopOnContainers locally
|
## Files needed to run eShopOnContainers locally
|
||||||
|
|
||||||
* `docker-compose.yml`: This file contains **the definition of all images needed for running eShopOnContainers**.
|
* `docker-compose.yml`: This file contains **the definition of all images needed for running eShopOnContainers**.
|
||||||
@ -47,6 +43,10 @@ PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG:-http://${ESHOP_PROD_EXTERNAL_DNS_NAME_
|
|||||||
|
|
||||||
So, use `ESHOP_AZURE_STORAGE_CATALOG` if set, and if not use `http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5101/api/v1/catalog/items/[0]/pic/}`. Unfortunately seems that docker-compose do not substitute variables inside variables, so the value that `PicBaseUrl` gets if `ESHOP_AZURE_STORAGE_CATALOG` is not set is literally `http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5101/api/v1/catalog/items/[0]/pic/}` without any substitution.
|
So, use `ESHOP_AZURE_STORAGE_CATALOG` if set, and if not use `http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5101/api/v1/catalog/items/[0]/pic/}`. Unfortunately seems that docker-compose do not substitute variables inside variables, so the value that `PicBaseUrl` gets if `ESHOP_AZURE_STORAGE_CATALOG` is not set is literally `http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5101/api/v1/catalog/items/[0]/pic/}` without any substitution.
|
||||||
|
|
||||||
|
## Build container (Optional)
|
||||||
|
|
||||||
|
* `docker-compose.ci.build.yml`: This file is for starting the build container to build the project using a container that has all needed dependencies.
|
||||||
|
|
||||||
**For more information** about docker-compose variable substitution read the [compose docs](https://docs.docker.com/compose/compose-file/#variable-substitution).
|
**For more information** about docker-compose variable substitution read the [compose docs](https://docs.docker.com/compose/compose-file/#variable-substitution).
|
||||||
|
|
||||||
## Other files
|
## Other files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user