Skip to content

Commit

Permalink
updated to hydra rc11
Browse files Browse the repository at this point in the history
  • Loading branch information
eabili0 committed May 3, 2019
1 parent cac3807 commit ae52092
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 4 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ services:
restart: on-failure

hydra-migrate:
image: oryd/hydra:v1.0.0-rc.8
image: oryd/hydra:v1.0.0-rc.11
depends_on:
- mysqld
environment:
- DSN=mysql://root:secret@tcp(mysqld:3306)/hydra?max_conns=20&max_idle_conns=4
command:
migrate sql -e
migrate sql -e --yes
restart: on-failure

hydra:
image: oryd/hydra:v1.0.0-rc.8
image: oryd/hydra:v1.0.0-rc.11
depends_on:
- hydra-migrate
ports:
Expand All @@ -59,10 +59,7 @@ services:
restart: on-failure

mysqld:
image: labbsr0x/whisperdb
build:
context: scripts
dockerfile: Dockerfile
image: mysql:5.7
ports:
- "3306:3306"
volumes:
Expand Down
1 change: 0 additions & 1 deletion web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func (s *Server) Run() error {
router.Handle("/consent", s.ConsentAPIs.ConsentGETHandler("/consent")).Methods("GET")
router.Handle("/consent", s.ConsentAPIs.ConsentPOSTHandler()).Methods("POST")

logrus.Infof("Setting up UserCredentialAPIs: %v; %v", s.UserCredentialsAPIs, s.UserCredentialsAPIs.GETRegistrationPageHandler("/registration"))
router.Handle("/registration", s.UserCredentialsAPIs.GETRegistrationPageHandler("/registration")).Methods("GET")
router.Handle("/registration", s.UserCredentialsAPIs.POSTHandler()).Methods("POST")

Expand Down

0 comments on commit ae52092

Please sign in to comment.