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

dockerized the app #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

dockerized the app #9

wants to merge 1 commit into from

Conversation

andrius
Copy link

@andrius andrius commented Nov 11, 2023

Thanks for the app - it helped me a lot, I wanted to setup russian mac phonetic layout, that I use on Mac, iPad, Linux and from now with the Android phone.
I've dockerized the app for the folks who does not have Java on their machines

@ris58h
Copy link
Owner

ris58h commented Nov 12, 2023

What is the point of using Ngrok and Compose here? Isn't simple docker build/run enough?

@andrius
Copy link
Author

andrius commented Nov 14, 2023

The use of ngrok is optional for those who do need to run the project at VPS. In my case, I ran the service through termux in dex mode: I SSHed into my VPS and ran ngrok.

Regarding docker-compose:

As you can see, I do not use the Dockerfile at all. It is simply not needed with the existing flow. The command option in the docker-compose.yml file handles everything: rebuilding and running the service.

I decided not to use Docker because, typically, for this type of project, it would be logical to introduce a staged build. Since it is not being deployed anywhere, it would be unnecessary overhead.

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.

2 participants