Open szala1981 opened 2 years ago
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 are you interested in a PR with a github action workflow to deploy to docker hub automatically. I could help with that.
Hi,
Thanks for your help offer :) No problem for a PR.
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.
@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
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.
I've read this (https://dockerlabs.collabnix.com/intermediate/workshop/DockerCompose/push_command.html) and make PR
Or even better https://docs.docker.com/docker-hub/builds/link-source/
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
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?
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
I am a Linux novice and I cannot install fitrackee following the instructions - I have error:
Is it possible to create a container on docker hub? - this is the easiest way to install for many users. Thanks!