version: '3.6'
services:
web:
container_name: gitlab
image: 'gitlab/gitlab-ee:latest'
restart: always
hostname: 'my.domain.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://my.domain.com'
#nginx['enable'] = true
nginx['listen_https'] = false
nginx['listen_port'] = 80
nginx['redirect_http_to_https'] = false
letsencrypt['enable'] = false
ports:
- '1234:80'
volumes:
- 'config:/etc/gitlab:Z'
- 'logs:/var/log/gitlab:Z'
- 'data:/var/opt/gitlab:Z'
shm_size: '256m'
$ curl -I localhost:1234
HTTP/1.1 302 Found
Server: nginx
Location: https://localhost:1234/users/sign_in
<html><body>You are being <a href="https://localhost:1234/users/sign_in">redirected</a>.</body></html>
Are there any settings to change?