chore(docs): docker instructions use docker compose instead of the deprecated docker-compose (#30030)

This commit is contained in:
Evan Rusackas
2024-08-29 16:42:53 -06:00
committed by GitHub
parent e2c4435cab
commit 4fe3000275
12 changed files with 34 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ under the License.
# Utility script to run tests faster
By default tests will be run using the Postgres container defined at the `docker-compose` file on the root of the repo,
By default tests will be run using the Postgres container defined at the `docker compose` file (`docker-compose.yml`) on the root of the repo,
so prior to using this script make sure to launch the dev containers.
You can use a different DB backend by defining `SUPERSET__SQLALCHEMY_DATABASE_URI` env var.

View File

@@ -65,7 +65,7 @@ DB_NAME="test"
DB_USER="superset"
DB_PASSWORD="superset"
# Pointing to use the test database in local docker-compose setup
# Pointing to use the test database in local `docker compose` setup
export SUPERSET__SQLALCHEMY_DATABASE_URI=${SUPERSET__SQLALCHEMY_DATABASE_URI:-postgresql+psycopg2://"${DB_USER}":"${DB_PASSWORD}"@localhost/"${DB_NAME}"}
export SUPERSET_CONFIG=${SUPERSET_CONFIG:-tests.integration_tests.superset_test_config}