Skip to content

Instantly share code, notes, and snippets.

@mavencode01
Created January 27, 2016 08:01
Show Gist options
  • Save mavencode01/39fa84bb8f3c13018721 to your computer and use it in GitHub Desktop.
Save mavencode01/39fa84bb8f3c13018721 to your computer and use it in GitHub Desktop.
gitlab-data:
image: 'sameersbn/gitlab:8.0.2'
command: true
volumes:
- '/home/docker/gitlab/data:/home/git/data'
gitlab:
image: 'sameersbn/gitlab:8.0.2'
environment:
- DB_HOST=psql
- DB_NAME=gitlabhq_production
- DB_PASS=YOURPASSWORDHERE
- DB_TYPE=postgres
- DB_USER=gitlab
- GITLAB_BACKUPS=daily
- GITLAB_HOST=gitlab.skift.io
- GITLAB_HTTPS=true
- GITLAB_PORT=443
- GITLAB_SECRETS_DB_KEY_BASE=averystrongsecretkeyhere
- GITLAB_SSH_PORT=10022
- MAX_UPLOAD_SIZE=512m
- SMTP_ENABLED=true
- SMTP_PASS=YOURGMAILPASSHERE
- SMTP_USER=YOURGMAILUSERHERE
- SSL_CERTIFICATE_PATH=/home/git/data/certs/gitlab.crt
- SSL_DHPARAM_PATH=/home/git/data/certs/dhparam.pem
- SSL_KEY_PATH=/home/git/data/certs/gitlab.key
- SSL_SELF_SIGNED=true
- VIRTUAL_HOST=gitlab.skift.io
ports:
- '4430:443'
- '10022:22'
volumes_from:
- gitlab-data
ci:
image: quay.io/sameersbn/gitlab-ci:8.0.5
links:
- redis:redisio
- postgresql:postgresql
ports:
- "10081:80"
environment:
- TZ=Asia/Kolkata
- GITLAB_URL=http://localhost:10080
- GITLAB_APP_ID=
- GITLAB_APP_SECRET=
- GITLAB_CI_SECRETS_SESSION_KEY_BASE=
- GITLAB_CI_SECRETS_DB_KEY_BASE=
- GITLAB_CI_HOST=localhost
- GITLAB_CI_PORT=10081
- [email protected]
- [email protected]
- GITLAB_CI_NOTIFY_ON_BROKEN_BUILDS="true"
- GITLAB_CI_NOTIFY_PUSHER=false
- GITLAB_CI_BACKUPS=daily
- GITLAB_CI_BACKUP_TIME=01:00
- SMTP_ENABLED=false
- SMTP_DOMAIN=www.example.com
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
- [email protected]
- SMTP_PASS=password
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=login
volumes:
- /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment