Updating some docker compose functionality (#220)

close #210
This commit is contained in:
Mike Arpaia
2016-09-21 08:22:53 -04:00
committed by Victor Vrantchan
parent 8f16bd8bcc
commit d5d3d4ce17
3 changed files with 20 additions and 6 deletions
+12 -4
View File
@@ -220,6 +220,9 @@ mail:
address: localhost:1025
```
`localhost:1025` is the default configuration. You can use `kolide config_dump`
to see the values which Kolide is using given your configuration.
#### Viewing email content in the terminal
If you're [running Kolide in dev mode](#using-no-external-dependencies), emails
@@ -270,10 +273,15 @@ the Kolide binary as follows:
kolide serve
```
There is an example configuration file included in this repository to make this
process easier for you. You may have to edit the example configuration file to
use the output of `docker-machine ip` instead of `localhost` if you're using
Docker via [Docker Toolbox](https://www.docker.com/products/docker-toolbox).
By default, Kolide will try to connect to servers running on default ports on
localhost.
If you're using Docker via [Docker Toolbox](https://www.docker.com/products/docker-toolbox).
you may have to modify the default values use the output of `docker-machine ip`
instead of `localhost`.There is an example configuration file included in this
repository to make this process easier for you. Use the `--config` flag of the
Kolide binary to specify the path to your config. See `kolide --help` for more
options.
#### Using no external dependencies
+1 -1
View File
@@ -109,7 +109,7 @@ func (man Manager) addConfigs() {
man.addConfigString("app.web_address", "0.0.0.0:8080")
// SMTP
man.addConfigString("smtp.server", "")
man.addConfigString("smtp.server", "0.0.0.0:1025")
man.addConfigString("smtp.username", "")
man.addConfigString("smtp.password", "")
man.addConfigInt("smtp.pool_connections", 4)
+7 -1
View File
@@ -6,4 +6,10 @@ mysql:
MYSQL_USER: kolide
MYSQL_PASSWORD: kolide
ports:
- "3306:3306"
- "3306:3306"
mailhog:
image: mailhog/mailhog:latest
ports:
- "8025:8025"
- "1025:1025"