diff --git a/blueprints/onetimesecret/docker-compose.yml b/blueprints/onetimesecret/docker-compose.yml new file mode 100644 index 0000000..5fbfbd0 --- /dev/null +++ b/blueprints/onetimesecret/docker-compose.yml @@ -0,0 +1,45 @@ +services: + onetimesecret: + image: onetimesecret/onetimesecret:v0.20.5 + restart: unless-stopped + ports: + - 3000 + environment: + - REDIS_URL=redis://redis:6379/0 + - SECRET=${SECRET} + - HOST=${HOST} + - COLONEL=${COLONEL} + - SSL=false + - RACK_ENV=production + depends_on: + - redis + healthcheck: + test: + - CMD + - curl + - '-f' + - 'http://localhost:3000' + interval: 15s + timeout: 15s + retries: 5 + start_period: 10s + redis: + image: redis:6-alpine + restart: unless-stopped + command: redis-server --appendonly yes + volumes: + - redis-data:/data + ports: + - 6379 + healthcheck: + test: + - CMD + - redis-cli + - ping + interval: 15s + timeout: 15s + retries: 5 + start_period: 10s + +volumes: + redis-data: diff --git a/blueprints/onetimesecret/onetimesecret.svg b/blueprints/onetimesecret/onetimesecret.svg new file mode 100644 index 0000000..eff9738 --- /dev/null +++ b/blueprints/onetimesecret/onetimesecret.svg @@ -0,0 +1,6 @@ + + +Onetime Secret + + + diff --git a/blueprints/onetimesecret/template.yml b/blueprints/onetimesecret/template.yml new file mode 100644 index 0000000..4f2d946 --- /dev/null +++ b/blueprints/onetimesecret/template.yml @@ -0,0 +1,15 @@ +variables: + main_domain: ${domain} + +config: + domains: + - serviceName: onetimesecret + port: 3000 + host: ${main_domain} + + env: + - HOST=${main_domain}:3000 + - SECRET=${password:32} + - COLONEL=admin@example.com + + mounts: [] diff --git a/meta.json b/meta.json index 0b01ced..a161dbf 100644 --- a/meta.json +++ b/meta.json @@ -717,6 +717,22 @@ "manager" ] }, + { + "id": "onetimesecret", + "name": "One Time Secret", + "version": "0.20.5", + "description": "One Time Secret is a self-hosted, open-source, and secure way to share secrets.", + "links": { + "github": "https://github.com/onetimesecret/onetimesecret", + "website": "https://onetimesecret.com/", + "docs": "https://docs.onetimesecret.com/" + }, + "logo": "onetimesecret.svg", + "tags": [ + "password", + "self-hosted" + ] + }, { "id": "vaultwarden", "name": "Vaultwarden",