Skip to content

Reinstate dependencies between Docker Compose services #1407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion getting-started/eclipselink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This example requires `jq` to be installed on your machine.

```shell
curl -v http://127.0.0.1:8181/api/management/v1/principal-roles -H "Authorization: Bearer $POLARIS_TOKEN"
curl -v http://127.0.0.1:8181/api/management/v1/catalogs/polaris_demo -H "Authorization: Bearer $POLARIS_TOKEN"
curl -v http://127.0.0.1:8181/api/management/v1/catalogs/quickstart_catalog -H "Authorization: Bearer $POLARIS_TOKEN"
```

6. Using Trino CLI: To access the Trino CLI, run this command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ services:
command:
- "bootstrap"
- "--realm=POLARIS"
- "--credential=POLARIS,root,s3cr3t"
- "--credential=POLARIS,root,s3cr3t"
polaris:
depends_on:
polaris-bootstrap:
condition: service_completed_successfully
10 changes: 9 additions & 1 deletion getting-started/eclipselink/docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,12 @@ services:
test: "pg_isready -U postgres"
interval: 5s
timeout: 2s
retries: 15
retries: 15
polaris-bootstrap:
depends_on:
postgres:
condition: service_healthy
polaris:
depends_on:
postgres:
condition: service_healthy
6 changes: 6 additions & 0 deletions getting-started/eclipselink/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ services:

spark-sql:
image: apache/spark:3.5.5-java17-python3
depends_on:
polaris-setup:
condition: service_completed_successfully
stdin_open: true
tty: true
ports:
Expand All @@ -81,6 +84,9 @@ services:

trino:
image: trinodb/trino:latest
depends_on:
polaris-setup:
condition: service_completed_successfully
stdin_open: true
tty: true
ports:
Expand Down