Skip to content

Instantly share code, notes, and snippets.

@nkpoid
Created October 4, 2015 02:05
Show Gist options
  • Select an option

  • Save nkpoid/ebac8f22b6e2ae0a406f to your computer and use it in GitHub Desktop.

Select an option

Save nkpoid/ebac8f22b6e2ae0a406f to your computer and use it in GitHub Desktop.
docker-compose.yml
gitlab-redis:
image: sameersbn/redis:latest
volumes:
- /home/user/gitlab/redis:/var/lib/redis
gitlab-mysql:
image: sameersbn/mysql:latest
volumes:
- /home/user/gitlab/mysql:/var/lib/mysql
environment:
- DB_NAME=gitlabhq_production
- DB_USER=gitlab
- DB_PASS=password
gitlab:
image: sameersbn/gitlab:latest
ports:
- "10080:80"
volumes:
- /home/user/gitlab/git:/home/git/data
environment:
- GITLAB_PORT=80
- GITLAB_HOST=git.ho.ge
- GITLAB_SECRETS_DB_KEY_BASE=hogehoge
- SMTP_HOST=smtp.gmail.com
- [email protected]
- SMTP_PASS=hogepassword
links:
- gitlab-mysql:mysql
- gitlab-redis:redisio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment