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:
Dmitry Verkhoturov
2022-08-26 23:35:57 +02:00
parent 2c36fab8aa
commit 9ad3be2e97
111 changed files with 12639 additions and 6946 deletions
+3 -1
View File
@@ -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