From a97d3d443347ec41b3955a957c37a7952d8ab2dd Mon Sep 17 00:00:00 2001 From: Frederic Jahn Date: Fri, 10 Jun 2022 11:54:08 +0200 Subject: [PATCH] chore: change docker-compose config --- deploy/docker-compose/config.yaml | 12 +++++++++--- deploy/docker-compose/quickstart.yaml | 26 +++++++++++++++++++------- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/deploy/docker-compose/config.yaml b/deploy/docker-compose/config.yaml index 81e991e85..98ee80dba 100644 --- a/deploy/docker-compose/config.yaml +++ b/deploy/docker-compose/config.yaml @@ -8,11 +8,17 @@ passcode: email: from_address: no-reply@hanko.io smtp: - host: smtp.example.com - user: example - password: example + host: "mailslurper" + port: "2500" secrets: keys: - abcedfghijklmnopqrstuvwxyz service: name: Hanko Authentication Service +server: + public: + cors: + enabled: true + allow_credentials: true + allow_origins: + - "*" diff --git a/deploy/docker-compose/quickstart.yaml b/deploy/docker-compose/quickstart.yaml index 475e87a68..f6d6cecd8 100644 --- a/deploy/docker-compose/quickstart.yaml +++ b/deploy/docker-compose/quickstart.yaml @@ -37,12 +37,24 @@ services: - POSTGRES_DB=hanko networks: - intranet -# mailslurper: -# image: oryd/mailslurper:latest-smtps -# ports: -# - '4436:4436' -# - '4437:4437' -# networks: -# - intranet + hankojs: + build: ../../hanko-js + ports: + - "9500:80" + networks: + - intranet + example: + build: ../../example + ports: + - "8888:8080" + networks: + - intranet + mailslurper: + image: marcopas/docker-mailslurper:latest + ports: + - '8080:8080' # web UI + - '8085:8085' + networks: + - intranet networks: intranet: