Skip to content

Instantly share code, notes, and snippets.

@victor-miranda-beltran
Created August 25, 2015 07:45
Show Gist options
  • Select an option

  • Save victor-miranda-beltran/b82d29b012619070119e to your computer and use it in GitHub Desktop.

Select an option

Save victor-miranda-beltran/b82d29b012619070119e to your computer and use it in GitHub Desktop.
docker run --name gitlab -d \
--env 'DB_HOST=192.168.0.111' --env 'DB_TYPE=mysql' \
--env 'REDIS_HOST=192.168.0.111' --env 'REDIS_PORT=6379' \
--env 'DB_NAME=gitlabhq_production' \
--env 'DB_USER=gitlab' --env 'DB_PASS=asdprivate' \
--volume /srv/gitlab/gitlab:/home/git/data \
--volume /srv/gitlab/config:/etc/gitlab \
--volume /srv/gitlab/logs:/var/log/gitlab \
--publish 22:22 --publish 8888:80 --publish 8443:443 \
sameersbn/gitlab:7.14.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment