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

What should be the structure of the git repo to pass to the docker image? #1

Open
iakat opened this issue Dec 10, 2018 · 1 comment

Comments

@iakat
Copy link

iakat commented Dec 10, 2018

No description provided.

@tiredofit
Copy link
Owner

I run gitlab and make the repo available via https - and I have hardcoded that into the image, although it could be changed easy enough. I suppose I should rework the URI for the public to better use.

In /install/etc/s6/services/10-tinc/run on line 25 I have this:
git clone https://$GIT_USER:$GIT_PASS@$GIT_URL /etc/tinc/$NETWORK/hosts

So my url would be https://user:password@my.git.server/reponame.git

There are a few other ways you can do this (manually) by editting the .git folder inside your data/hosts folder and changing the URL. If you give me a few days I'll rework this to be more accommodating for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants