A docker container to run passgen.py
- Docker for Mac
- Xcode command line tools to be installed
$ xcode-select --install
- Update AUTH_USER and AUTH_PASS in .env
- Build and run container
$ export AUTH_PASS=<auth_pass>
$ make build
$ make up
- Get password
$ make get-pass
# or
$ curl http://$AUTH_USER:[email protected]
HiEN-l0Dz-VQ8b-QdLu
$ make get-json
# or
$ curl http://$AUTH_USER:[email protected]/json
{
"password": "HiEN-l0Dz-VQ8b-QdLu"
}