bump go modules, make auth dev hostname customisable
After this commit, dev auth would start working with the `REMARK_URL` hostname instead of the previously hardcoded 127.0.0.1. Breaks development setup where `REMARK_URL` was set to a non-standard value and dev auth was running on 127.0.0.1 and working, as, after that change, it would stop working.
This commit is contained in:
@@ -31,11 +31,13 @@ services:
|
||||
- "8084:8084" # local oauth2 server
|
||||
|
||||
environment:
|
||||
# REMARK_URL below would be used for the dev auth,
|
||||
# so that it would work on http://127.0.0.1 but wouldn't on http://localhost
|
||||
- REMARK_URL=http://127.0.0.1:8080
|
||||
- SECRET=12345
|
||||
- DEBUG=true
|
||||
- ADMIN_PASSWD=password
|
||||
- AUTH_DEV=true # activate local oauth "dev"
|
||||
- AUTH_DEV=true # activate local OAuth "dev" on REMARK_URL hostname
|
||||
- ADMIN_SHARED_ID=dev_user # set admin flag for default user on local oauth2
|
||||
- AUTH_ANON=true
|
||||
- AUTH_EMAIL_ENABLE=true
|
||||
|
||||
Reference in New Issue
Block a user