You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell {experiments, but no pointers to gitolite
documentation}, gitolite setup command overrides whatever
/var/lib/git/.gitolite.rc file was there, as such following
Dockerfile
FROM jgiannuzzi/gitolite
COPY gitolite.rc /var/lib/git/.gitolite.rc
does not work as intended. Could you please add option to provide
custom .gitolite.rc?
The text was updated successfully, but these errors were encountered:
The idea is to run the setup once, as per the README. This will create everything you need in the gitolite-git volume (or whatever name you gave to the volume holding /var/lib/git).
You can then simply edit the .gitolite.rc file in there (by mounting the volume in another container, or by exec-ing in your gitolite container), and restart/recreate your gitolite container.
Hi @iu-guest,
The idea is to run the setup once, as per the README. This will create
everything you need in the `gitolite-git` volume (or whatever name you
gave to the volume holding `/var/lib/git`).
You can then simply edit the `.gitolite.rc` file in there (by mounting
the volume in another c ontainer, or by exec-ing in your gitolite
container), and restart/recreate your gitolite conta iner.
Yes, sure. But I like to have `docker-compose.yml', such that
'docker-compose up --build' will have everything up and running, without
additional tweaking.
What about adding something like following at the end of init script?
# ... setup gitolite as usual
if [ -f /gitolite.rc-override ] ; then
cp /gitolite.rc-override /var/lib/git/.gitolite.rc
fi
# exec ssh server
As far as I can tell {experiments, but no pointers to gitolite
documentation},
gitolite setup
command overrides whatever/var/lib/git/.gitolite.rc file was there, as such following
Dockerfile
does not work as intended. Could you please add option to provide
custom .gitolite.rc?
The text was updated successfully, but these errors were encountered: