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

traefik for authentication #29

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft

traefik for authentication #29

wants to merge 34 commits into from

Conversation

C-Loftus
Copy link
Member

@C-Loftus C-Loftus commented Sep 12, 2024

just a proof of concept

eventually we are going to want the graphdb / s3 / and dagster behind password auth before deploying. Can't seem to get this up working so not going to waste too much time on this.

Traefik seems useful but the documentation is not great and its pretty error prone so not going to do too much on this until we align

feel free to let me know what you prefer (nginx, caddy, traefik , something else etc)

webb-ben and others added 30 commits August 27, 2024 11:58
* testing iow ops template

* testing iow ops template

* Update to support multiple SPARQL enpoints and new Nabu workflow otpions.  Updates to the IoW DAG.

* Comment out the reporting jobs until they can be made generic enough to always run fine across ECO, IoW and OIH.  Document how to remove for the other groups using Gleaner

* remove dev settings

* cache prod changes

---------

Co-authored-by: Douglas Fils <[email protected]>
Co-authored-by: root <[email protected]>
* Update gleanerconfig and run pygen

Revert "Update gleanerconfig and run pygen"

This reverts commit 78c22be.

* Update gleanerconfig and run pygen

Revert "Update gleanerconfig and run pygen"

This reverts commit 78c22be.

* Update based on most recent sitemap

* Revert "Update based on most recent sitemap" schedule changes

This reverts commit 74ed73f.

* Spread out crawl days
* Fix scheduler runtime

* Update dagster_setup_docker.sh
…nfigs (#27)

* template the yaml for nabu

* fix env var

* clean up scripts a bit. don't need to expose a port already accessible in network or throw error for a config that doesnt exist

* put main.py run afterwards
* refactor to use case match

* clean up a lot of old code

* fix typo
- "traefik.http.routers.http-catchall.entrypoints=web"
# auth middleware with user / password
# password: test username: test
- "traefik.http.middlewares.my-auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/,test2:$$apr1$$d9hr9HBB$$4HxwgUir3HP4EsggP/QNo0"
Copy link
Member Author

Choose a reason for hiding this comment

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

Change this in prod, just here for an example hashed passoword. test test works.

@C-Loftus C-Loftus marked this pull request as draft September 12, 2024 18:32
Base automatically changed from cleanerBuild to main October 2, 2024 20:57
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