i installed gitlab via docker. nothing special; here’s my docker-compose:
version: '3.6'
services:
web:
image: 'gitlab/gitlab-ee:latest'
restart: always
hostname: 'gitlab.myjabber.site'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.myjabber.site'
gitlab_rails['gitlab_shell_ssh_port'] = 2289
# Add any other gitlab.rb configuration here, each on its own line
pages_external_url "http://pages.myjabber.site" # not a subdomain of external_url
#pages_nginx['redirect_http_to_https'] = true
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.mailgun.org"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_authentication'] = "plain"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_user_name'] = ""
gitlab_rails['smtp_password'] = ""
gitlab_rails['smtp_domain'] = ""
ports:
- '80:80'
- '443:443'
- '2289:22'
volumes:
- '$GITLAB_HOME/config:/etc/gitlab'
- '$GITLAB_HOME/logs:/var/log/gitlab'
- '$GITLAB_HOME/data:/var/opt/gitlab'
shm_size: '256m'
i have commented out the pages SSL config line (otherwise the entire site doesnt load!). but as it’s now the pages doesnt load. how do I enable SSL to pages as well? do I have to manually run letsencrypt? thank you for your attention.