Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9944

Closed
Open
Created Jan 03, 2016 by Administrator@rootOwner

Gitlab docker: SSL connection error

Created by: Sigurthorb

I am deploying a gitlab on my private server and have deployed it successfully but only with http. Today I have been trying to set up a https connection with gitlab but it has been unsuccessfull

I followed the step by step instructions as described here

my docker compose file looks like this:

postgresql:
  restart: always
  image: sameersbn/postgresql:9.4-11
  environment:
    - DB_USER=usr
    - DB_PASS=pass
    - DB_NAME=temporary_stuff
  volumes:
    - /var/docker/gitlab/postgresql:/var/lib/postgresql
gitlab:
  restart: always
  image: sameersbn/gitlab:8.3.2
  links:
    - redis:redisio
    - postgresql:postgresqli
  external_links:
    - mailserver_mail_1:maili
  ports:
    - "10080:80"
    - "10443:443"
    - "10022:22"
  environment:
    - DEBUG=true
    - TZ=GMT
    - GITLAB_TIMEZONE=GMT
    - GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alphanumeric-string
    - GITLAB_HOST=myHost
    - GITLAB_PORT=10443
    - GITLAB_SSH_PORT=10022
    - GITLAB_RELATIVE_URL_ROOT=
   # I added these two lines to the docker-compose file
    - GITLAB_HTTPS=true
    - SSL_SELF_SIGNED=true
# to here
    - DB_ADAPTER=postgresql
    - DB_HOST=postgresqli
    - DB_NAME=temporary_stuff
    - DB_USER=usr
    - DB_PASS=pass
    - GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
    - GITLAB_NOTIFY_PUSHER=false
    - [email protected]
    - [email protected]
    - [email protected]
    - GITLAB_BACKUP_SCHEDULE=daily
    - GITLAB_BACKUP_TIME=01:00
    - SMTP_ENABLED=true
    - SMTP_DOMAIN=www.google.com
    - SMTP_HOST=smtp.gmail.com
    - SMTP_PORT=587
    - [email protected]
    - SMTP_PASS=mypass
    - SMTP_STARTTLS=true
    - SMTP_AUTHENTICATION=login
    - IMAP_ENABLED=false
    - IMAP_HOST=imap.gmail.com
    - IMAP_PORT=993
    - [email protected]
    - IMAP_PASS=password
    - IMAP_SSL=true
    - IMAP_STARTTLS=false
  volumes:
    - /var/docker/gitlab/gitlab:/home/git/data
redis:
  restart: always
  image: sameersbn/redis:latest
  volumes:
    - /var/docker/gitlab/redis:/var/lib/redis

I tried to find some logs but the docker-compose logs did not have any information. Please let me know if you need more information. I will provide them Any help is appreciated.

Assignee
Assign to
Time tracking