An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactore(service): improve Onetimesecret
peaklabs-dev4664ec12146f
diff --git a/public/svgs/one-time-secret.svg b/public/svgs/onetimesecret.svgsimilarity index 100%rename from public/svgs/one-time-secret.svgrename to public/svgs/onetimesecret.svgdiff --git a/templates/compose/one-time-secret.yaml b/templates/compose/onetimesecret.yamlsimilarity index 59%rename from templates/compose/one-time-secret.yamlrename to templates/compose/onetimesecret.yamlindex 9a861bc50e..6021253a88 100644--- a/templates/compose/one-time-secret.yaml+++ b/templates/compose/onetimesecret.yaml@@ -1,37 +1,25 @@# documentation: https://docs.onetimesecret.com# slogan: Share sensitive information securely with self-destructing links that are only viewable once.# tags: auth,password,secret,secure-# logo: svgs/one-time-secret.svg+# logo: svgs/onetimesecret.svg# port: 3000services:- onetimesecret-redis:- image: "redis:alpine"- restart: unless-stopped- command: redis-server --requirepass ${SERVICE_PASSWORD_REDIS}- healthcheck:- test:- - CMD- - redis-cli- - ping- interval: 30s- timeout: 10s- retries: 3onetimesecret:- image: "onetimesecret/onetimesecret:latest"- restart: unless-stopped+ image: onetimesecret/onetimesecret:latestenvironment:- - "AUTH_AUTOVERIFY=${AUTH_AUTOVERIFY-true}"- - "AUTH_SIGNUP=${AUTH_SIGNUP-true}"- - "COLONEL=${[email protected]}"- - "HOST=${HOST}"- - "REDIS_URL=redis://:${SERVICE_PASSWORD_REDIS}@onetimesecret-redis:6379/0"- - "SECRET=${SERVICE_PASSWORD_ONETIMESECRET}"- - "SSL=${SSL-true}"- - RACK_ENV=production- SERVICE_FQDN_ONETIMESECRET_3000+ - AUTH_AUTOVERIFY=${AUTH_AUTOVERIFY:-true}+ - AUTH_SIGNUP=${AUTH_SIGNUP:-true}+ - COLONEL=${COLONEL:[email protected]}+ - HOST=${HOST:-localhost}+ - REDIS_URL=redis://:${SERVICE_PASSWORD_REDIS}@redis:6379/0+ - SECRET=${SERVICE_PASSWORD_ONETIMESECRET}+ - SSL=${SSL:-false}+ - RACK_ENV=productiondepends_on:- - onetimesecret-redis+ redis:+ condition: service_healthyhealthcheck:test:- CMD@@ -42,3 +30,15 @@ services:interval: 30stimeout: 10sretries: 3++ redis:+ image: redis:8-alpine+ command: redis-server --requirepass ${SERVICE_PASSWORD_REDIS}+ healthcheck:+ test:+ - CMD+ - redis-cli+ - ping+ interval: 30s+ timeout: 10s+ retries: 3