From 03a507d4228f568d60d189cdfbb2676e6eab2b32 Mon Sep 17 00:00:00 2001 From: Andriy Biletsky Date: Thu, 22 Aug 2024 14:17:36 +0700 Subject: [PATCH] Update docker compose launch command --- .github/workflows/test-release.yml | 4 ++-- readme.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index afd54346..f76291c4 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -38,10 +38,10 @@ jobs: echo "::endgroup::" - name: Set up containers - run: docker-compose up -d + run: docker compose up -d - name: Set up containers - run: docker-compose -f apps/watchman/docker-compose.yml up -d clickhouse geoipupdate + run: docker compose -f apps/watchman/docker-compose.yml up -d clickhouse geoipupdate - name: Check running containers run: docker ps -a diff --git a/readme.md b/readme.md index 29caa614..1aade0ba 100644 --- a/readme.md +++ b/readme.md @@ -18,7 +18,7 @@ go install github.com/volatiletech/sqlboiler/drivers/sqlboiler-psql **1. Launch the core environment containers** -`docker-compose up -d` +`docker compose up -d` *Note: if you're running a LBRY desktop app or a lbrynet instance, you will have to either shut it down or change its ports* @@ -49,13 +49,13 @@ SDK_API_URL=http://localhost:8080 yarn dev:web ## Running with Docker -Make sure you have recent enough Docker and `docker-compose` installed. +Make sure you have recent enough Docker and `docker compose` installed. **1. Initialize and launch the containers** This will pull and launch SDK and postgres images, which Odysee API requires to operate. -`docker-compose -f docker-compose.yml -f docker-compose.app.yml up -d` +`docker compose -f docker-compose.yml -f docker compose.app.yml up -d` *Note: if you're running a LBRY desktop app or lbrynet instance, you will have to either shut it down or change ports*