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

Dockerize ppf.webref-0.1.1 #2

Merged
merged 21 commits into from
Jan 4, 2024
Merged

Dockerize ppf.webref-0.1.1 #2

merged 21 commits into from
Jan 4, 2024

Conversation

adrianschlatter
Copy link
Owner

As simple as it can be. Provides minimal read-only web interface as inherited from ppf.webref-0.1.1.

* Simple website displaying a table and a search box
* Trivial AJAX to send search to backend and show results
* flask backend to handle query and return html table
* Packed into a docker image
- login feature (based on https://youtu.be/71EU8gnZqZQ)
- explanation of how to create users / set passwords
Added instructions on how to update docker container.
Use flask_talisman to:

- set a Content-Security Police
- other security benefits I'm not aware of

Do not use http to https redirection: https (and therefore certificates)
should be handled by the world outside of the docker container
(e.g. by virtualhost configuration of the host system).
fix version of python packages so I can't get surprized
by unexpected (incompatible) updates.
explain how to handle reverse proxy including
http=>https port redirection while keeping the
certificate stuff outside the docker container.
* builds
* runs
* cleans up

Also, version of image is defined in Makefile.
Adapt to docker-only, no python situation. Include standard code of
conduct and contributing.

Fix problem in docker-compose_templ.yml so that installation
instructions will also work for future versions (not only for v0.1).
@adrianschlatter adrianschlatter merged commit 71fc32b into master Jan 4, 2024
1 check passed
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.

None yet

1 participant