tkuester / taky

A simple python TAK server
MIT License
188 stars 43 forks source link

Development Dockerfile #23

Closed doug-fitzmaurice-rowden closed 10 months ago

doug-fitzmaurice-rowden commented 3 years ago

Add a basic docker setup for development

This doesn't keep a copy of the code in the container - it's mounted in at runtime to make testing and iteration quicker. takyctl setup is run automatically on first run to create certificates and config, then the /etc/taky directory is mounted out to the local ./docker directory so the config can be edited.

Usage:

docker-compose build
docker-compose up
arichnad commented 1 year ago

@doug-fitzmaurice-rowden

Is there an update on merging in this ticket? I was able to run this by manually using commit at the HEAD of this branch (a0c2a65) onto your main branch, but I'm not 100% sure it's totally working. (I also had to change permissions on the entrypoint. chmod +x entrypoint.sh).

I can push these things to a new pull request if you are interested in this pull request?

tkuester commented 1 year ago

I really appreciate the docker file here -- but regrettably, I'm simply not knowledgeable enough with docker to support and maintain this feature inside the taky repo. I know there are a few other people who have made and use docker images -- perhaps I could link to them in the README?

Matthew-Beckett commented 1 year ago

I really appreciate the docker file here -- but regrettably, I'm simply not knowledgeable enough with docker to support and maintain this feature inside the taky repo. I know there are a few other people who have made and use docker images -- perhaps I could link to them in the README?

@tkuester I can take over maintenance of the Docker element, I will look to merge this PR with my PR.