Upsource 2018.2 Help

Local SMTP server is not working with the Docker installation

A localhost SMTP cannot be accessed from the Upsource Docker container.

Solution

Reconfigure the Upsource container to use host network by adding --network host and removing port mapping -p <port on host>:XXXX.

  1. Stop Upsource: docker exec <containerId> stop

  2. Enter the following command:

    docker run -it -v <path to data directory>:/opt/upsource/data \ -v <path to conf directory>:/opt/upsource/conf \ -v <path to logs directory>:/opt/upsource/logs \ -v <path to backups directory>:/opt/upsource/backups \ jetbrains/upsource:<version> \ configure --listen-port XXXX \ --base-url http://upsource.mydomain.com:XXXX \ --network host

Last modified: 5 December 2018