FitTrackee icon indicating copy to clipboard operation
FitTrackee copied to clipboard

Docker's Container on docker hub

Open szala1981 opened this issue 3 years ago • 11 comments

I am a Linux novice and I cannot install fitrackee following the instructions - I have error:

root@debian:~/FitTrackee# make docker-build docker-run docker-init
make: docker-compose: No such file or directory
make: *** [Makefile:28: docker-build] Error 127

Is it possible to create a container on docker hub? - this is the easiest way to install for many users. Thanks!

szala1981 avatar Dec 22 '21 23:12 szala1981

Hi,

Sorry for the delay.

Can you check if docker-compose is correctly installed by displaying its version?

$ docker-compose -v
Docker Compose version 2.2.2

Note that the docker files present in this repo are just for evaluation. Another repository exists with sample files for custom configuration.

I can look how to create container on Docker Hub, but I have a basic knowledge of docker since I'm not using it for development or deployment.

SamR1 avatar Jan 01 '22 09:01 SamR1

@SamR1 are you interested in a PR with a github action workflow to deploy to docker hub automatically. I could help with that.

d-rk avatar Jan 30 '22 19:01 d-rk

Hi,

Thanks for your help offer :) No problem for a PR.

SamR1 avatar Feb 03 '22 10:02 SamR1

Hi.

I'm also interested on this because I use FitTrackee on a daily for my bike-commuting, and updating using docker is tedious in it's current state (I understand is for developing purposes and not for "production" use).

How is this doing? I'm not an expert in docker, but I have a bit of experience and if help is needed to create the DockerHub and docker-compose for a "production-ready" deployment, I think I can help.

albertodiazsaez avatar Apr 11 '22 11:04 albertodiazsaez

@SamR1 it should be pretty straight forward to get it. You just need to use that: https://github.com/marketplace/actions/build-and-push-docker-images for both server (python) and client(javascript) images. Let me know if you need help. But since, I guess you want to be the owner of the dockerhub images, you should add by yourself those github actions

titilambert avatar Jul 17 '22 02:07 titilambert

Hi,

Thanks for the link.

I don't think if it's necessary to create a Javascript image, the Python application already includes js assets.

Since I have no experience deploying with Docker images in production, if you or anyone else wants to start a PR, it would be great :).

I have just created a repository on Docker Hub.

If you have any questions, you can reach me on matrix. But FYI, at the moment I don't have much free time to work on FitTrackee :/. So, sorry in advance if it takes me a while to reply.

SamR1 avatar Aug 27 '22 13:08 SamR1

I've read this (https://dockerlabs.collabnix.com/intermediate/workshop/DockerCompose/push_command.html) and make PR

DavidHenryThoreau avatar Nov 20 '23 10:11 DavidHenryThoreau

Or even better https://docs.docker.com/docker-hub/builds/link-source/

DavidHenryThoreau avatar Nov 20 '23 13:11 DavidHenryThoreau

I've set workflow, after merging into master it generates images as you can see : https://github.com/DavidHenryThoreau/FitTrackee/pkgs/container/fittrackee

Commit is here : https://github.com/DavidHenryThoreau/FitTrackee/commit/0f58f34dfdb95f3cddd0dbb87d163eff5b0bbe2f?diff=unified&w=0

DavidHenryThoreau avatar May 02 '24 12:05 DavidHenryThoreau