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

Docker's Container on docker hub #126

Closed
szala1981 opened this issue Dec 22, 2021 · 13 comments
Closed

Docker's Container on docker hub #126

szala1981 opened this issue Dec 22, 2021 · 13 comments
Labels
continuous integration docker v0.8.x Issues planned in versions 0.8.x

Comments

@szala1981
Copy link

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!

@SamR1
Copy link
Owner

SamR1 commented Jan 1, 2022

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.

@d-rk
Copy link

d-rk commented Jan 30, 2022

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

@SamR1
Copy link
Owner

SamR1 commented Feb 3, 2022

Hi,

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

@albertodiazsaez
Copy link

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.

@titilambert
Copy link

titilambert commented Jul 17, 2022

@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

@SamR1
Copy link
Owner

SamR1 commented Aug 27, 2022

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.

@DavidHenryThoreau
Copy link
Contributor

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

@DavidHenryThoreau
Copy link
Contributor

@DavidHenryThoreau
Copy link
Contributor

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 :
DavidHenryThoreau@0f58f34?diff=unified&w=0

@jnaav
Copy link

jnaav commented Jul 28, 2024

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 : DavidHenryThoreau@0f58f34?diff=unified&w=0

So, it is possible to use the ghcr.io/davidhenrythoreau/fittrackee:sha-971cf6a image?
But how we should configure it in order to run it? I mean, which ports, env variables, etc should we configure?
The same as the docker-compose-dev.yml file?

@DavidHenryThoreau
Copy link
Contributor

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 : DavidHenryThoreau@0f58f34?diff=unified&w=0

So, it is possible to use the ghcr.io/davidhenrythoreau/fittrackee:sha-971cf6a image? But how we should configure it in order to run it? I mean, which ports, env variables, etc should we configure? The same as the docker-compose-dev.yml file?

You can use that docker-compose.yaml file

@SamR1
Copy link
Owner

SamR1 commented Dec 29, 2024

Docker images are now available on Docker Hub and GitHub container registry.

Link to documentation: https://samr1.github.io/FitTrackee/en/installation.html#id6

Thank to @DavidHenryThoreau for initiating the pull request.

@SamR1 SamR1 added continuous integration packaging v0.8.x Issues planned in versions 0.8.x labels Dec 29, 2024
@SamR1 SamR1 moved this to Done in FitTrackee - v0.8.x Dec 29, 2024
@SamR1 SamR1 added this to the v0.8 - Equipments milestone Dec 29, 2024
@SamR1
Copy link
Owner

SamR1 commented Dec 29, 2024

released in v0.8.13

@SamR1 SamR1 closed this as completed Dec 29, 2024
@SamR1 SamR1 added docker and removed packaging labels Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous integration docker v0.8.x Issues planned in versions 0.8.x
Projects
Development

No branches or pull requests

7 participants