Skip to content

Commit

Permalink
Issue #64: Adding correct path to mailhog docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
serundeputy committed Jul 7, 2017
1 parent e67abfd commit 24d63d0
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions plugins/lando-services/mailhog/mailhog.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,9 @@ module.exports = function(lando) {
// Start a services collector
var services = {};

// @TODO: remove?
// Define config mappings
// var configFiles = {
// config: '/usr/local/etc/redis/redis.conf'
// };

// Default mailhog service
var mailhog = {
image: 'mailhog:' + config.version,
image: 'mailhog/mailhog:' + config.version,
environment: {
TERM: 'xterm'
},
Expand All @@ -72,16 +66,6 @@ module.exports = function(lando) {

}

// @TODO: ok to remove?
// // Handle custom config directory
// _.forEach(configFiles, function(file, type) {
// if (_.has(config, 'config.' + type)) {
// var local = config.config[type];
// var customConfig = buildVolume(local, file, '$LANDO_APP_ROOT_BIND');
// mailhog.volumes = addConfig(customConfig, mailhog.volumes);
// }
// });

// Put it all together
services[name] = mailhog;

Expand Down

0 comments on commit 24d63d0

Please sign in to comment.