Skip to content

Docker app development workflow

Use this guide Development workflow for Docker apps to configure how Visual Studio works with docker-compose

Virto Commerce Team created docker-compose.override.yml to run vc-platform and mssql server in containers

To use it you need to create an external network for the Docker engine

docker network create nat

To work with the contents of containers, use the mapping folder

...
 volumes:
      - ${CMS_CONTENT_VOLUME}:/app/wwwroot/cms-content
      - ${MODULES_VOLUME}:/app/Modules
...

You can parameterize these values ​​in the .env file

CMS_CONTENT_VOLUME=/Path/to/folder/cms-content
MODULES_VOLUME=/Path/to/folder/modules

If you use Docker Desktop on Windows navigate to Docker for windows for sharing folders


Last update: July 31, 2020