Skip to content

Commit

Permalink
Set default host to work with docker osf
Browse files Browse the repository at this point in the history
Running fakeCAS on localhost:8080 w/o docker-compose doesn't work with
OSF w/ docker-compose during login. Use 192.168.168.167 instead.
  • Loading branch information
cslzchen committed Jul 23, 2019
1 parent d0762f5 commit 06cc4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakecas.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var Version string

var (
Host = flag.String("host", "localhost:8080", "The host to bind to")
Host = flag.String("host", "192.168.168.167:8080", "The host to bind to")
OSFHost = flag.String("osfhost", "localhost:5000", "The osf host to bind to")
DatabaseName = flag.String("dbname", "osf", "The name of your OSF database")
DatabaseAddress = flag.String("dbaddress", "postgres://postgres@localhost:5432/osf?sslmode=disable", "The address of your postgres instance. ie: postgres://user:[email protected]/dbname?other=args")
Expand Down

0 comments on commit 06cc4ce

Please sign in to comment.