I intalled gitlab via Docker and it didn’t work. Docker gitlab just keep restarting again and again. I couldn’t do anything, including entering the internal shell of the container.
Here is my docker-compose.yml for installation:
version: '3.6'
services:
web:
image: gitlab/gitlab-ce:latest
restart: always
hostname: 'gitlab.example.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.example.com'
ports:
- '30014:80'
# - '443:443'
- '22:22'
volumes:
- './config:/etc/gitlab'
- './logs:/var/log/gitlab'
- './data:/var/opt/gitlab'
shm_size: '4096m'
Here is the error log:
My system environment:
$ uname -a
Linux racknerd-74a241 5.4.0-28-generic #32-Ubuntu SMP Wed Apr 22 17:40:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ docker --version
Docker version 20.10.14, build a224086
$ docker-compose --version
Docker Compose version v2.4.1
Any suggestions?