-
Notifications
You must be signed in to change notification settings - Fork 6
add example for apollo federation support #23
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
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| ## Run Aidbox and Apollo gateway | ||
|
|
||
| ```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets make it in a modern way, for example like here
| 2. **Initialize Aidbox instance** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this, but it can't automatically start Apollo with this approach. Apollo starts, tries to access Aidbox, but since it's not initialized, it fails. So you'll have to restart Apollo manually, instead of just doing docker compose up.
| retries: 90 | ||
| start_period: 30s | ||
|
|
||
| apollo-gateway: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use a Dockerfile here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use custom index.js to set everything up, so I'm not sure
1c87c15 to
dc2248a
Compare
Added example for integrating with Apollo gateway via graphql federation API