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

Update Docker setup #97

Merged
merged 12 commits into from
Jul 1, 2024
Merged

Update Docker setup #97

merged 12 commits into from
Jul 1, 2024

Conversation

MatthewL246
Copy link
Member

@MatthewL246 MatthewL246 commented Jun 24, 2024

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.

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.

@MatthewL246 MatthewL246 mentioned this pull request Jun 24, 2024
@jonbarrow
Copy link
Member

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

@MatthewL246
Copy link
Member Author

Should the datastore route and associated configuration be removed then?

@jonbarrow
Copy link
Member

That's out of scope for this PR imo

@MatthewL246
Copy link
Member Author

The Docker image is up! https://hub.docker.com/r/matthewl246/pretendo-account

It works fine with pretendo-docker.

.github/workflows/docker.yml Show resolved Hide resolved
.github/workflows/docker.yml Outdated Show resolved Hide resolved
@jonbarrow
Copy link
Member

If jvs approve, Jon hits button

@jonbarrow jonbarrow merged commit ef51ea5 into PretendoNetwork:dev Jul 1, 2024
1 check passed
@MatthewL246 MatthewL246 deleted the docker-updates branch July 1, 2024 20:30
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.

4 participants