From 940ec4701b047dc7c8b82c53411047541f2fb907 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Sat, 12 Mar 2022 10:54:36 +0300 Subject: [PATCH] Fix compose`s `project` option in docs (https://github.com/frappe/frappe_docker/pull/617#issuecomment-1065178792) --- docs/setup-options.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/setup-options.md b/docs/setup-options.md index c19555fc..74718e99 100644 --- a/docs/setup-options.md +++ b/docs/setup-options.md @@ -23,7 +23,7 @@ Note: To know more about environment variable [read here](./images-and-compose-f docker-compose -f compose.yaml -f overrides/compose.noproxy.yaml config > ~/gitops/docker-compose.yml # Start containers -docker-compose --project -f ~/gitops/docker-compose.yml up -d +docker-compose --project-name -f ~/gitops/docker-compose.yml up -d ``` ### Setup ERPNext with proxy and external MariaDB and Redis @@ -36,7 +36,7 @@ docker-compose -f compose.yaml \ config > ~/gitops/docker-compose.yml # Start containers -docker-compose --project -f ~/gitops/docker-compose.yml up -d +docker-compose --project-name -f ~/gitops/docker-compose.yml up -d ``` ### Setup Frappe using containerized MariaDB and Redis with Letsencrypt certificates. @@ -50,7 +50,7 @@ docker-compose -f compose.yaml \ config > ~/gitops/docker-compose.yml # Start containers -docker-compose --project -f ~/gitops/docker-compose.yml up -d +docker-compose --project-name -f ~/gitops/docker-compose.yml up -d ``` ### Setup ERPNext using containerized MariaDB and Redis with Letsencrypt certificates. @@ -65,7 +65,7 @@ docker-compose -f compose.yaml \ config > ~/gitops/docker-compose.yml # Start containers -docker-compose --project -f ~/gitops/docker-compose.yml up -d +docker-compose --project-name -f ~/gitops/docker-compose.yml up -d ``` Notes: @@ -87,10 +87,10 @@ docker-compose -f compose.yaml \ # ... your other overrides config > ~/gitops/docker-compose.yml -docker-compose --project -f ~/gitops/docker-compose.yml pull +docker-compose --project-name -f ~/gitops/docker-compose.yml pull # Restart containers -docker-compose --project -f ~/gitops/docker-compose.yml up -d +docker-compose --project-name -f ~/gitops/docker-compose.yml up -d ``` To migrate sites refer [site operations](./site-operations.md#migrate-site)