-
Notifications
You must be signed in to change notification settings - Fork 147
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
Is there a possibility to dockerize the Traccar Client? #141
Comments
Sounds like you're talking about the web app, not Traccar Client. Very confusing. The web app is already included in the single docker image that we have. |
I meant the web app (Traccar Client because of client side), I have the problem that the image contains the app transpiled by Babel. I know it's for better optimization and ready to be deployed, however If I want to adjust or change anything before deployment (dev purposes), it's not possible. So, my take here would be, instead of using a zip file backend and frontend inside at once on a single image, we might dockerize the web app and the backend separately. Perhaps, implement the script that you use to transpile the code into the instructions once the user has done any adjustment or change, and finally, do the image for deployment. traccar-docker/Dockerfile.alpine Line 11 in 57c7f32
|
How is it going to help with customization? |
One of my customers pisses me off trying to change some styles stuff in the web app to make it look more according to his brand, and deploy it with a reverse proxy. |
I don't think it answers my question. |
It is self-explanatory, you can't change anything with a transpiled code inside the image. It's going to help with the fact that you can adjust anything, add more parameters (env files, port binding, and so on) to the image, and make it more flexible. Dev containers might be a solution. |
It's not self explanatory to me. How is dividing one container into two solves the problem? Dev containers is a completely different purpose. It's for development, not deployment, so this would be the wrong repo for that. |
Hi, Yes, it was for development, however, I could solve the issue for myself. And yes, this was the wrong repo. Regards. |
Hi,
Docker for me it's the best way to setup everything for production in my opinion. I was checking if there is a Docker image for Traccar-Client in order to deploy everything in a single
docker-compose.yml
with the database. I'm using #101 (comment) and it just works awesome.I'm new implementing solutions with Traccar, so I want to make sure if this was already done by somebody else, if not, I can contribute doing it, as well as, making a dev container to develop and adjust anything the user wants, but mostly important, an image prepared for production.
The text was updated successfully, but these errors were encountered: