Skip to content
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

dnpm: Secure endpoints for ETL and p2p communications #254

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

YtvwlD
Copy link

@YtvwlD YtvwlD commented Dec 11, 2024

This is one half of the changes we talked about last week: Securing the ETL endpoints with basic auth and denying access to the p2p api for external hosts.

I did not test that the variable actually gets inserted, I'm a bit confused about the shell scripts. But replacing ${ETL_PASSWD} with the actual auth data works.

For ETL to work, this needs an ETL processor with support for basic auth. This has been merged, but is not yet part of any release.

@Threated

ccp/modules/dnpm-node-compose.yml Outdated Show resolved Hide resolved
minimal/modules/dnpm-node-compose.yml Outdated Show resolved Hide resolved
Comment on lines +79 to +81
- "traefik.http.routers.dnpm-backend.rule=PathPrefix(`/api`)"
- "traefik.http.routers.dnpm-backend.tls=true"
- "traefik.http.routers.dnpm-backend.service=dnpm-backend"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need this router anymore I think the other 2 cover all the relevant cases?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need this for the frontend to access the data.

@YtvwlD YtvwlD force-pushed the dnpm-dip-secure-endpoints branch from ccd4642 to 28ffdc1 Compare December 19, 2024 11:46
@TKussel TKussel requested a review from Threated January 20, 2025 09:43
@Threated
Copy link
Member

Thanks a lot for the PR

@Threated Threated merged commit 1e2df23 into samply:feat/dnpm-dip Jan 21, 2025
@YtvwlD YtvwlD deleted the dnpm-dip-secure-endpoints branch January 21, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants