From 46d3fa45789383ca1b340919d72e2182139634a0 Mon Sep 17 00:00:00 2001 From: curiositycasualty Date: Mon, 15 Mar 2021 17:35:40 -0700 Subject: [PATCH] add mailhog --- docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 84c8e8b..6a0b58c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: # build: {"context": ".", "args": ["LABKEY_VERSION=21.3-SNAPSHOT"]} depends_on: - postgres + - mailhog ports: - ${HOST_PORT:-8443}:8443 volumes: @@ -21,6 +22,10 @@ services: - POSTGRES_PASSWORD=fb4"1ee5#'f7ac323 - POSTGRES_HOST=postgres + + # - SMTP_HOST=mailhog + # - SMTP_PORT=1025 + postgres: image: postgres:13 # silent postgres w/o needing to remake the container! @@ -36,3 +41,11 @@ services: timeout: 10s retries: 3 start_period: 40s + + # mailhog: + # image: mailhog/mailhog + # logging: + # driver: 'none' # disable saving logs + # ports: + # - 1025:1025 # smtp server + # - 8025:8025 # web ui