Docker
If you would like to test Exceptionless locally, please follow this section.
Requirements #
Testing Setup #
Runs Exceptionless without persisting data between runs. Good for checking out Exceptionless for the first time and testing.
docker run --rm -it -p 5000:80 exceptionless/exceptionless:latest
Simple Setup #
Runs a very simple non-production setup for Exceptionless with data persisted between runs in a sub-directory of the current directory called esdata
. It uses an embedded single node Elasticsearch cluster and does not have backups. It is recommended that you create your own Elasticsearch cluster for production deployments of Exceptionless.
On Linux:
docker run --rm -it -p 5000:80 \
-v $(pwd)/esdata:/usr/share/elasticsearch/data \
exceptionless/exceptionless:latest
On PowerShell:
docker run --rm -it -p 5000:80 `
-v ${PWD}/esdata:/usr/share/elasticsearch/data `
exceptionless/exceptionless:latest
Simple Setup w/SSL Support and SMTP #
Runs a very simple non-production setup for Exceptionless with data persisted between runs in a sub-directory of the current directory called esdata
. It uses an embedded single node Elasticsearch cluster and does not have backups. It is recommended that you create your own Elasticsearch cluster for production deployments of Exceptionless.
On Linux:
docker run --rm -it -p 5000:80 -p 5001:443 \
-e EX_ConnectionStrings__Email=smtps://user:password@smtp.host.com:587 \
-e ASPNETCORE_URLS="https://+;http://+" \
-e ASPNETCORE_HTTPS_PORT=5001 \
-e ASPNETCORE_Kestrel__Certificates__Default__Password="password" \
-e ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx \
-v ~/.aspnet/https:/https/ \
-v $(PWD)/esdata:/usr/share/elasticsearch/data \
exceptionless/exceptionless:latest
On PowerShell:
docker run --rm -it -p 5000:80 -p 5001:443 `
-e EX_ConnectionStrings__Email=smtps://user:password@smtp.host.com:587 `
-e ASPNETCORE_URLS="https://+;http://+" `
-e ASPNETCORE_HTTPS_PORT=5001 `
-e ASPNETCORE_Kestrel__Certificates__Default__Password="password" `
-e ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx `
-v ~/.aspnet/https:/https/ `
-v ${PWD}/esdata:/usr/share/elasticsearch/data `
exceptionless/exceptionless:latest