I generally have Docker related stuff in a subfolder in my repo. In the example below, all the code is sat in the root, but you could equally put all the code in a subfolder as well.
<repo_folder>
code/
more_code/
docker/
bin/
setup.sh
nginx/