Skip to content

tuxpeople/docker-onetimesecret

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onetimesecret

Github Workflow Badge Github Last Commit Badge Docker Pull Badge Docker Stars Badge Docker Size Badge

Quick reference

'Keep sensitive info out of your email and chat logs'

Launch One-Time Secret as a Docker container

Originally from Ant Kenworthy, I made it multiarch for me and did some changes. Based on https://github.com/mcrmonkey/docker-onetimesecret

Some of the configuration and inspiration for this came from https://github.com/carlasouza/docker-onetimesecret

Image tags

  • latest gets automatically built on every push to master and also via a weekly cron job
  • Every build creates a tag containing date and time of the build. latest always points to the newest build. See tags.

Usage

Either use docker-compose up

or run manually:

docker run --name=onetimesecret -p 7143:7143 --link redis:redis tdeutsch/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

Limitations and things to be aware of

  • 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.

About

onetimesecret in a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%