Local SMTP server is not working with the Docker installation
A localhost SMTP cannot be accessed from the Upsource Docker container.
Reconfigure the Upsource container to use host network by adding
--network host and removing port mapping
-p <port on host>:XXXX.
docker exec <containerId> stop
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: 02 April 2021