tiddly-wiki-server icon indicating copy to clipboard operation
tiddly-wiki-server copied to clipboard

Docker?

Open poblabs opened this issue 2 years ago • 2 comments

I'm pretty curious to try this out, but I don't know Rust at all. Any chance you could create a Dockerfile for the project?

poblabs avatar Aug 31 '23 13:08 poblabs

I know Rust so I thought why not learn about Docker and create a Docker file for this project. But is it just me or are Docker Desktop and vmmem using up a ton of resources?

SurajRaika avatar Aug 31 '23 14:08 SurajRaika

I'm not sure about Docker desktop. I use it on Ubuntu server and it seems pretty good on resources

poblabs avatar Aug 31 '23 14:08 poblabs

Next steps are:

  • [x] Better optimize the Dockerfile (following, for example, this guide).
  • [x] Publish the image to dockerhub (or similar)
  • [ ] Write a docker-compose.yml file for easier deployment

nathanielknight avatar Sep 04 '24 06:09 nathanielknight

Instructions for publishing a docker image to ghcr.io:

https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images#publishing-images-to-github-packages

nathanielknight avatar Sep 04 '24 18:09 nathanielknight

With the above changes, releases now trigger a Docker image to be published to ghcr.io.

All that remains is:

  • [x] Instructions for running in Docker (prominently displayed in the README), and
  • [x] A docker-compose.yml file for easy deployment.

nathanielknight avatar Sep 08 '24 07:09 nathanielknight

The remaining points on this issue are addressed by #30. The Docker Compose file won't actually work until I release v0.3.0, which I'm planning to do shortly.

nathanielknight avatar Sep 11 '24 05:09 nathanielknight