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

Open
wants to merge 1 commit into
base: feat/dnpm-dip
Choose a base branch
from

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
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