Files
web-dev/fastapiusers/docker-run
2020-02-26 01:10:16 +00:00

11 lines
548 B
Plaintext

docker run -d --name mongo-fastapiusers -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=root -e MONGO_INITDB_DATABASE=fastapi -v /Users/dtomlinson/git-repos/web-dev/fastapiusers/mongo/data/db:/data/db mongo:4.2.3
docker run -d --name mongo-fastapiusers -p 27017:27017 -e MONGO_INITDB_DATABASE=fastapi -v /Users/dtomlinson/git-repos/web-dev/fastapiusers/mongo/data/db:/data/db mongo:4.2.3
to do
create a basic template that logs in from a view
should display the username
use a submit button, see what the cookie is and log out