diff --git a/docker-compose.yml b/docker-compose.yml index 8d1bac6..d1328d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,6 @@ -version: "3" - +# The docker-compose.yml file is __only__ used for local development. +# This means that changes to this file will not affect cloud deployments in any way. +# Read more at https://docs.divio.com/reference/docker-docker-compose/ services: web: build: . @@ -9,6 +10,8 @@ services: - ".:/app:rw" - "./data:/data:rw" - "node_modules:/app/node_modules" + # The following command is used to start the local development server. + # Removing this line will mimic the deployment behaviour on Divio Cloud. command: npm run develop -- --host 0.0.0.0 volumes: