Skip to content

Instantly share code, notes, and snippets.

@jest
Created October 27, 2015 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jest/7ffd79833865b10d2909 to your computer and use it in GitHub Desktop.
Save jest/7ffd79833865b10d2909 to your computer and use it in GitHub Desktop.
Docker-compose file for Rancher which shows port 80 not being published.
postgresql:
image: quay.io/sameersbn/postgresql:9.4-7
environment:
- DB_USER=gitlab
- DB_PASS=xxx
- DB_NAME=gitlabhq_production
volumes:
- /var/lib/postgresql
redis:
image: quay.io/sameersbn/redis:latest
volumes:
- /var/lib/redis
gitlab:
image: quay.io/sameersbn/gitlab:8.1.0-2
links:
- redis:redisio
- postgresql:postgresql
external_links:
- ldap/ldap:localldap
ports:
- "10080:80"
- "10022:22"
environment:
- TZ=Europe/Warsaw
- SMTP_ENABLED=true
- SMTP_DOMAIN=xxx
- SMTP_HOST=smtp.mailgun.org
- SMTP_PORT=587
- SMTP_USER=xxx
- SMTP_PASS=xxx
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=login
- GITLAB_SECRETS_DB_KEY_BASE=xxx
- GITLAB_TIMEZONE=Warsaw
- GITLAB_HOST=localhost
- GITLAB_PORT=10080
- GITLAB_SSH_PORT=10022
- GITLAB_EMAIL=xxx
- GITLAB_EMAIL_REPLY_TO=xxx
- GITLAB_BACKUPS=daily
- GITLAB_BACKUP_TIME=01:00
- LDAP_ENABLED=true
- LDAP_HOST=localldap
- LDAP_UID=uid
# - LDAP_BIND_DN=...
# - LDAP_PASS=...
- LDAP_ACTIVE_DIRECTORY=false
- LDAP_BASE=dc=dev,dc=company,dc=pl
volumes:
- /home/git/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment