jzohrab / lute

DEPRECATED: LUTE (Learning Using Texts) is a self-hosted web app for learning language through reading, based on Learning with Texts (LWT)
The Unlicense
118 stars 10 forks source link

Consider docker pre-built images #20

Closed jzohrab closed 1 year ago

jzohrab commented 1 year ago

With docker pre-built images pushed to docker hub, users with docker would be able to start using Lute with just a few clicks:

$ mkdir lute
$ cd lute
$ # cp the .env file and compose file to this dir, editing them if needed
$ docker compose up

I don't feel any code changes are needed. V2 (soon to be merged into develop) already has the various code changes in place needed for the image to work well. ... But there may be other requirements as well for this to work on all client machines that I'm not aware of!!

Ref different builds for different architectures (https://docs.docker.com/build/building/multi-platform)

jzohrab commented 1 year ago

V2 has been launched, and the release process could create a new Docker image. The only thing I'm not sure of is how to build containers for multiple architectures. I have read that it's possible, but without knowing how to do it, and without environments to test, I'm reluctant to invest time here. Perhaps others more knowledgeable than I can make some suggestions.

jzohrab commented 1 year ago

See PR #64 for some additional notes.

jzohrab commented 1 year ago

Handled in Lute v3, good enough for now!