hydrusvideodeduplicator / hydrus-video-deduplicator

Video Deduplicator for the Hydrus Network
https://hydrusvideodeduplicator.github.io/hydrus-video-deduplicator/
MIT License
41 stars 7 forks source link

feat: add Dockerfile and docker-compose.yml #19

Closed Yochyo closed 1 year ago

Yochyo commented 1 year ago

The PR contains a Dockerfile and sample docker-compose.yml file to run this project inside a container. This is the first time I've done anything like that, so some things could probably be improved.

arguments can be configured using environment variables. The environment variables are the following:

API_KEY: a simple string.
API_URL: (optional) simple string
QUERY: (optional) tag query string
THRESHOLD:  (optional) decimal number (for example 75.0)

CERT: (optional) boolean. If true, the certificate must be mounted at "/usr/src/app/cert"
OVERWRITE: (optional) boolean, sets -overwrite flag
SKIP_HASHING: (optional) boolean, sets -skip-hashing flag
CLEAR_SEARCH_CACHE: (optional) boolean, sets -clear-search-cache flag
VERBOSE: (optional) boolean, sets -verbose flag
Yochyo commented 1 year ago

Thank you a lot for taking the time to review it and especially for making suggestions and explaining why you changed something.

This PR should now be ready for merging now.

appleappleapplenanner commented 1 year ago

Good work