-
Notifications
You must be signed in to change notification settings - Fork 30
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
Update Docker setup #97
Conversation
This uses a standard Node.js Dockerfile template and removes the old, unused entrypoint script.
I wouldn't worry too much about the DataStore stuff. It's legacy and not used anymore iirc. It was implemented because we didn't have an S3 source that supported the TLS version we needed at the time. But we have MinIO now |
Should the datastore route and associated configuration be removed then? |
That's out of scope for this PR imo |
The Docker image is up! https://hub.docker.com/r/matthewl246/pretendo-account It works fine with pretendo-docker. |
If jvs approve, Jon hits button |
Changes:
This updates the Dockerfile and related configuration. The DataStore upload method has been updated to use an environment variable for the secret key for consistency with the server's other configuration.
This also adds a GitHub Action for building and pushing the Docker image to Docker Hub. The image is currently available at https://hub.docker.com/r/matthewl246/pretendo-account and will be deleted when this PR is merged.
What I'm implementing was an approved issue.This issue was approved internally.I have tested all of the Docker changes. I have not tested DataStore HMAC secret key usage because I am not sure how to fully test that, but I believe it should work because the key is the same format that
generate-keys.js
used.