Sign inSign up

leopoldodonnell/gitlab

By leopoldodonnell

•Updated about 11 years ago

Update to the sameersbn/gitlab repo with the addition of SMTP_DELIVERY_METHOD

Image
0

363

leopoldodonnell/gitlab repository overview

The current version of the gitlab Docker repo 7.14.0 has :sendmail hardcoded as the mail delivery method. Thid update edits config/environments/production.rb to check for the environment variable SMTP_DELIVERY_METHOD before using the default :sendmail method.

Use

Either use -e to set the SMTP_DELIVERY_METHOD variable, or add it to your docker-compose.yml file.

E.g.

gitlab:
  image: sameersbn/gitlab:7.14.0
  links:
    - redis:redisio
    - postgresql:postgresql
  ports:
    - "10080:80"
    - "10022:22"
  environment:
    - SMTP_DELIVERY_METHOD=smtp
  etc...

Tag summary

Content type

Image

Digest

sha256:3fd56e2cd…

Size

228.8 MB

Last updated

about 11 years ago

docker pull leopoldodonnell/gitlab