Source Control of Docker Gateway Image

I am currently trying to figure out a good way to handle source control of my Ignition project with the Docker image. I have it configured with a persistent volume on my host machine, but cannot get git working within it. Does anyone have a better way of doing this? Thanks.

Here is a docker image that we use to map any project specific data into a working directory that can be version controlled. We map everything you might want to version control into a directory in the container called /workdir. I would recommend doing a bind mount from your host into workdir (as is referenced in the example docker-compose at the bottom), then version control at the same level as the docker-compose file.

2 Likes