OnetimeSecret in a docker container
2.2K
'Keep sensitive info out of your email and chat logs'
Launch One-Time Secret as a Docker container
Either use docker-compose up
or run manually:
docker run --name=onetimesecret -p 7143:7143 --link redis:redis mcrmonkey/docker-onetimesecret
The container expects to be able to connect to redis as the redis hostname
for the storage of secrets.
You can override this in the configuration file.
Or build it yourself:
docker build . -t='my_onetimesecret'
docker run -d --name redis redis
docker run --name=onetimesecret -p 7143:7143 --link redis:redis -t my_onetimesecret
Access it through your browser at http://localhost:7143
The application generates a link that uses a preconfigured domain and port.
Right now it is only generating using localhost:4173
The default secret is set to CHANGEME in the configuration file. Its
probably a good idea to change this to something more complex
The container has a default configuration file. You can either re-build the container or map your own configuration file in to the container using the docker volume option.
Some of the configuration and inspiration for this came from https://github.com/carlasouza/docker-onetimesecret
Content type
Image
Digest
Size
53.4 MB
Last updated
almost 5 years ago
docker pull mcrmonkey/docker-onetimesecret