Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcrmonkey/docker-onetimesecret
onetimesecret in a docker container
https://github.com/mcrmonkey/docker-onetimesecret
docker docker-compose docker-container docker-image onetimesecret redis secret-sharing
Last synced: about 8 hours ago
JSON representation
onetimesecret in a docker container
- Host: GitHub
- URL: https://github.com/mcrmonkey/docker-onetimesecret
- Owner: mcrmonkey
- Created: 2018-02-05T23:49:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T23:06:46.000Z (almost 3 years ago)
- Last Synced: 2023-03-23T12:08:46.792Z (over 1 year ago)
- Topics: docker, docker-compose, docker-container, docker-image, onetimesecret, redis, secret-sharing
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# onetimesecret
'Keep sensitive info out of your email and chat logs'
Launch [One-Time Secret](http://onetimesecret.com) as a Docker container
## Usage
Either use `docker-compose up`
or run manually:
```bash
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:
```bash
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.### Credit
Some of the configuration and inspiration for this came from https://github.com/carlasouza/docker-onetimesecret