Docker gitlab message is invalid

  docker, question

Docker’s installation image is sameersbn,gitlab’s version is 8.2.2. Now that redis, mysql and gitlab are installed, the web page can be opened, but the mail registered and sent by new users cannot be successful, and the administrator has to confirm it every time.

Redis startup

docker run \
–name=gitlab_redis \
-tid \

sameersbn/redis:latest

Mysql startup

docker run \
–name=gitlab_mysql \
-tid \
-e ‘DB_NAME=gitlabhq_production’ \
-e ‘DB_USER=gitlab’ \
-e ‘DB_PASS=password’ \
-v /opt/gitlab/mysql:/var/lib/mysql \
sameersbn/mysql:latest


Gitlab startup

docker run \
–name=’gitlab’ \
-itd \
–link gitlab_mysql:mysql \
–link gitlab_redis:redisio \
-e ‘GITLAB_TIMEZONE=Beijing’ \
-e ‘GITLAB_PORT=10080’ \
-e ‘GITLAB_SSH_PORT=10022’ \
-e ‘GITLAB_ROOT_PASSWORD=rootroot’ \
-e ‘GITLAB_HOST=192.168.10.231’ \
-e ‘GITLAB_SECRETS_DB_KEY_BASE=gitlab’ \
\
-e ‘SMTP_ENABLED=true’ \
-e ‘SMTP_DOMAIN=163.com’ \
-e ‘SMTP_HOST=stmp.163.com’ \
-e ‘SMTP_PORT=25’ \
-e ‘SMTP_USER=xxx@163.com’ \
-e ‘SMTP_PASS=*‘ \
\
-p 10022:22 \
-p 10080:80 \
-v /var/run/docker.sock:/run/docker.sock \
-v $(which docker):/bin/docker \
-v /opt/gitlab/data:/home/git/data \
-v /opt/gitlab/log:/var/log/gitlab \
sameersbn/gitlab:latest

GITLAB_HOST, must it be an intranet?
Great gods help me to see, mail always cannot be successfully sent. What causes it?

Has the landlord’s problem been solved? I have this problem now.