mongoexpress web auth
This commit is contained in:
parent
1b46ac9c22
commit
24264c4a8b
2
Makefile
2
Makefile
|
@ -17,6 +17,8 @@ OUTPUT = "db"
|
||||||
OUTDIR = "/home/voje/workdir/test_out"
|
OUTDIR = "/home/voje/workdir/test_out"
|
||||||
DBADDR = "0.0.0.0:27017" # don't use localhost
|
DBADDR = "0.0.0.0:27017" # don't use localhost
|
||||||
|
|
||||||
|
MONGOEXPRESS_USER = mxuser
|
||||||
|
MONGOEXPRESS_PASS = mxuserpassword
|
||||||
DB_ADM_USER = valadmin
|
DB_ADM_USER = valadmin
|
||||||
DB_ADM_PASS = valadminpass
|
DB_ADM_PASS = valadminpass
|
||||||
DB_USR_USER = valuser
|
DB_USR_USER = valuser
|
||||||
|
|
|
@ -19,6 +19,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8087:8081
|
- 8087:8081
|
||||||
environment:
|
environment:
|
||||||
|
ME_CONFIG_BASICAUTH_USERNAME: ${MONGOEXPRESS_USER}
|
||||||
|
ME_CONFIG_BASICAUTH_PASSWORD: ${MONGOEXPRESS_PASS}
|
||||||
ME_CONFIG_MONGODB_ADMINUSERNAME: ${DB_ADM_USER}
|
ME_CONFIG_MONGODB_ADMINUSERNAME: ${DB_ADM_USER}
|
||||||
ME_CONFIG_MONGODB_ADMINPASSWORD: ${DB_ADM_PASS}
|
ME_CONFIG_MONGODB_ADMINPASSWORD: ${DB_ADM_PASS}
|
||||||
ME_CONFIG_MONGODB_SERVER: my-mongo
|
ME_CONFIG_MONGODB_SERVER: my-mongo
|
||||||
|
|
Loading…
Reference in New Issue
Block a user