mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-24 01:50:24 +01:00
parent
aa3f53f14c
commit
1413d107b3
2
.env
2
.env
@ -14,4 +14,4 @@ SECURITY_RATE_LIMIT_IP=1000
|
||||
SECURITY_RATE_LIMIT_BE=100
|
||||
SECURITY_RATE_LIMIT_MOBILE=100
|
||||
|
||||
PASS_ADDR=:8084
|
||||
PASS_ADDR=:8082
|
||||
|
2
Makefile
2
Makefile
@ -35,4 +35,4 @@ tests-e2e: ## run end to end tests
|
||||
|
||||
|
||||
vendor-licenses: ## report vendor licenses
|
||||
go-licenses report ./cmd/api --template licenses.tpl > licenses.json 2> licenses-errors
|
||||
go-licenses report ./cmd/api --template licenses.tpl > licenses.json 2> licenses-errors
|
||||
|
@ -1,5 +1,5 @@
|
||||
package config
|
||||
|
||||
type PassConfig struct {
|
||||
Addr string `envconfig:"PASS_ADDR" default:":8084"`
|
||||
Addr string `envconfig:"PASS_ADDR" default:":8082"`
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ services:
|
||||
group_add:
|
||||
- '1000'
|
||||
ports:
|
||||
- "8084:8084"
|
||||
- "8084:8082"
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user