One Time Secret docker image based on Debian Jessie.
50K+
One Time Secret docker image based on Debian Jessie.
Sources to build this docker image can be found here.
This One Time Secret docker image contains the following software components:
These One Time Secret ports are exposed:
When you start the One Time Secret container, you can adjust the configuration by passing one or more environment variables on the docker run command line:
OTS_SITE_HOSTlocalhost:7143OTS_SITE_PORT7143OTS_SITE_DOMAINlocalhostOTS_SITE_SSLfalseOTS_SITE_SECRETCHANGEMEOTS_REDIS_URIredis://user:[email protected]:7179/0?timeout=10&thread_safe=false&logging=falseOTS_EMAIL_ADMIN[email protected]OTS_SMTP_MODE:smtpOTS_SMTP_FROM[email protected]OTS_SMTP_HOSTlocalhostOTS_SMTP_PORT25OTS_SMTP_TLSfalseOTS_SMTP_USEROTS_SMTP_PASSOTS_SMTP_AUTHOTS_INCOMING_ENABLEDfalseOTS_INCOMING_EMAIL[email protected]OTS_INCOMING_PASSPHRASECHANGEMEOTS_INCOMING_REGEX\\A[a-zA-Z0-9]{6}\\zOTS_STATHAT_ENABLEDfalseOTS_STATHAT_API_KEYCHANGEMEOTS_STATHAT_DEFAULT_CHARTCHANGEMEOTS_TEXT_NONPAID_RECIPIENTYou need to create an account!OTS_TEXT_PAID_RECIPIENTSend the secret link via emailOTS_LIMITS_CREATE_SECRET250OTS_LIMITS_CREATE_ACCOUNT10OTS_LIMITS_UPDATE_ACCOUNT10OTS_LIMITS_EMAIL_RECIPIENT50OTS_LIMITS_SEND_FEEDBACK10OTS_LIMITS_AUTHENTICATE_SESSION5OTS_LIMITS_HOMEPAGE500OTS_LIMITS_DASHBOARD1000OTS_LIMITS_FAILED_PASSPHRASE5OTS_LIMITS_SHOW_METADATA1000OTS_LIMITS_SHOW_SECRET1000OTS_LIMITS_BURN_SECRET1000sudo groupadd -g 1001 chrisipa
sudo useradd -u 1001 -g 1001 -m -s /usr/sbin/nologin chrisipa
docker-compose.yml with your configuration data:redis:
image: redis:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 6379:6379
onetimesecret:
image: chrisipa/onetimesecret:latest
links:
- redis:redis
environment:
- OTS_SITE_SECRET=my-super-secret-encryption-string
- OTS_REDIS_URI=redis://redis:6379/0?timeout=10&thread_safe=false&logging=false
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 7143:7143
docker-compose up -d
Content type
Image
Digest
Size
179.8 MB
Last updated
about 6 years ago
docker pull chrisipa/onetimesecret