Skip to content

Commit

Permalink
chore: change docker-compose config
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyDevelop committed Jun 10, 2022
1 parent 4d97a58 commit a97d3d4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
12 changes: 9 additions & 3 deletions deploy/docker-compose/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
- "*"
26 changes: 19 additions & 7 deletions deploy/docker-compose/quickstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

0 comments on commit a97d3d4

Please sign in to comment.