-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improvement - gitlab-deploy image #46
Comments
@arnos I came across this repo https://github.com/keeb/docker-ttl, its got a very interesting way of connecting to the docker server from the container. I was thinking maybe for the quick start guide we can mount the docker binary and start the database and redis servers on the host. In short, the container would be started like this docker run -i -t \
-v /usr/bin/docker:/bin/docker \
-v /var/run/docker.sock:/run/docker.sock \
sameersbn/gitlab:latest The gitlab container will now have access to docker running on the host, which means it will be able to pull containers for the mysql/postgresql and redis servers and eventually get the whole thing to work. Production environments will have to go through the setup procedure to configure the database and redis servers manually. |
Yes the remote API, though I would see a setup image to secures the API On Saturday, April 26, 2014, Sameer Naik notifications@github.com wrote:
|
@sameersbn actually you've struck gold. Instead of doing as mentioned below Anyone could use that installer image (based on buusybox perhaps) and Then each project would just point to a generic shell script on GitHub that Going further you could have a installation wizard builder, and even a cnet I'm kind of drooling at the possibity of integrating this. On Saturday, April 26, 2014, Arno Schulz arnoschulz@gmail.com wrote:
|
@arnos From what I understand, you mean we can create some sort of a docker image that helps in deploying complex application stacks like gitlab or shipyard where you need additional containers/services to complete the stack. Such applications will probably have to define some sort of configuration for the deployment to happen. Like indicating what services are required, how each service has to be configured, the preferred docker image for each service, etc. Problem is say an application requires a redis server and already a redis server is available, then we would somehow have to detect the same or ask the user. It could get complicated really quickly. Maybe at first we can implement this in the gitlab container as part of the quick start guide and then try and see if this can be generalized and forked into a new image. Also maybe, it would be replicating what chef already does. I am not sure. |
@arnos whatever be the case lets keep this on the down low for the moment and get the SSL thing finished up. |
This is a great idea, having a Vagrant file to get it up and running quickly would also be very nice. |
@arnos today I came across geard, which is very close to what you propose here. checkout https://www.youtube.com/watch?v=ZcEEnCMAMvo?t=24m for an overview. Pretty sweet stuff. Unfortunately it is currently only available for Fedora and RHEL. I think that it because of its dependency on systemd. |
Yes I ran into it a month ago as well, it's part of red hat On Wednesday, June 18, 2014, Sameer Naik notifications@github.com wrote:
|
I liked the idea of having a Vagrantfile too +1 |
@piclez I have never used vagrant, just installed it yesterday to do some selinux testing. Since I use linux as my primary OS and since docker has come along VM's are a no go for me. That said, since I now have vagrant installed, I will try to create a vagrant file for this image. |
Could also utilize fig ( https://github.com/orchardup/fig ) as an alternative to Vagrant. Something like: fig.yml:
Would also be able to add a database container and persistent volumes etc to this. |
@djdefi I was thinking about the same |
my program after installing, try installing gitlab with |
@keyvanfatehi will try it as soon I get the time. Once I can confirm I will close this issue. |
I added the fig.yml as PR. It was necessary to make a small change in order to auto-configure database on first-launch, wthen the PR is merged the fig.yml file will be ready to work even remotely (no need to compile anything) As for the installer part, I open-sourced part of what I'm doing at http://harbur.io/ The purpose of that repo is to be production-ready setup guide. Fig format to describe multi-container setup is pretty robust and using https://github.com/centurylinklabs/fig2coreos iit can be easily translated to coreOS configuration to adapt to more corporate environments. hope you find it useful. |
docker-gitlab can now be deployed using fig as implemented in #158 by @Spiddy . Alternately you could also use also use the https://github.com/keyvanfatehi/ydm tool being developed by @keyvanfatehi . Marking issue as closed. |
Just an idea from shipyard project as you're removing the mysql + redis images from the core build.
They have a deploy image (that deploys redis, postgresql, nginx, hipache and their web-UI images) for quick setup
https://github.com/shipyard/shipyard-deploy
And they keep a separate set of instructions for a production deployement.
The text was updated successfully, but these errors were encountered: