From 82ab6d007d149db8eb606e4a27ee6f69357c2607 Mon Sep 17 00:00:00 2001 From: thehunmonkgroup Date: Fri, 8 Sep 2023 03:17:59 -0600 Subject: [PATCH] feat: make docker compose command more flexible (#1139) By not specifying '-f docker-compose.yml' in the docker compose command, it allows more flexible use of configuration files. docker-compose.yml is already the default config file when none is specified, and this also allows overrides via docker-compose.override.yml, which is recognized by default. --- .gitignore | 1 + README.md | 2 +- docs/docs/get_started/intro.md | 2 +- install_helper.sh | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0f9c720a1..7489bc9d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +docker-compose.override.yml secondbrain/ .env .streamlit/secrets.toml diff --git a/README.md b/README.md index 96c880891..4ba9a4b47 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ Additionally, you'll need a [Supabase](https://supabase.com/) account for: - **Step 5**: Launch the app ```bash - docker compose -f docker-compose.yml up --build + docker compose up --build ``` - **Step 6**: Navigate to `localhost:3000` in your browser diff --git a/docs/docs/get_started/intro.md b/docs/docs/get_started/intro.md index 056ef4d90..a18b90b6f 100644 --- a/docs/docs/get_started/intro.md +++ b/docs/docs/get_started/intro.md @@ -111,7 +111,7 @@ All the scripts can be found in the [scripts](https://github.com/stangirard/quiv - **Step 5**: Launch the app ```bash -docker compose -f docker-compose.yml up --build +docker compose up --build ``` - **Step 6**: Navigate to `localhost:3000` in your browser diff --git a/install_helper.sh b/install_helper.sh index 3611dc372..b1e3b7068 100755 --- a/install_helper.sh +++ b/install_helper.sh @@ -80,7 +80,7 @@ echo "Running the migration scripts..." # Step 5: Launch the app echo "Launching the app..." -docker compose -f docker-compose.yml up --build +docker compose up --build # Final message echo "Navigate to localhost:3000 in your browser to access the app."