diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-16 20:07:04 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-16 20:07:04 -0400 |
| commit | af172b6680583487bdeacf230d7abaf9b57f4811 (patch) | |
| tree | 799048031a312668a695314c14044abe9bda9ccd /public/v4/apps/redis.yml | |
| parent | 0e70ec541e7441b71460db230975d4614473ed6d (diff) | |
| download | caprover-one-click-apps-af172b6680583487bdeacf230d7abaf9b57f4811.tar.gz caprover-one-click-apps-af172b6680583487bdeacf230d7abaf9b57f4811.zip | |
Formatter on V4
Diffstat (limited to 'public/v4/apps/redis.yml')
| -rw-r--r-- | public/v4/apps/redis.yml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/public/v4/apps/redis.yml b/public/v4/apps/redis.yml index 92146e2..38b6b4d 100644 --- a/public/v4/apps/redis.yml +++ b/public/v4/apps/redis.yml @@ -1,35 +1,35 @@ captainVersion: 4 services: - $$cap_appname: - volumes: - - $$cap_appname-redis-data:/data - restart: always - environment: - REDIS_PASSWORD: $$cap_redis_password - caproverExtra: - dockerfileLines: - - FROM redis:$$cap_redis_version - - CMD exec redis-server --requirepass "$$cap_redis_password" - notExposeAsWebApp: "true" + $$cap_appname: + volumes: + - $$cap_appname-redis-data:/data + restart: always + environment: + REDIS_PASSWORD: $$cap_redis_password + caproverExtra: + dockerfileLines: + - FROM redis:$$cap_redis_version + - CMD exec redis-server --requirepass "$$cap_redis_password" + notExposeAsWebApp: 'true' caproverOneClickApp: - variables: - - id: $$cap_redis_version - label: Redis Version Tag - description: "Check out their Docker page for the valid tags: https://hub.docker.com/_/redis?tab=tags" - defaultValue: "5" - validRegex: /^([^\s^\/])+$/ - - id: $$cap_redis_password - label: Redis Password - validRegex: /^([a-zA-Z0-9-_])+$/ - instructions: - start: >- - Redis is an open source key-value store that functions as a data structure server. + variables: + - id: $$cap_redis_version + label: Redis Version Tag + description: 'Check out their Docker page for the valid tags: https://hub.docker.com/_/redis?tab=tags' + defaultValue: '5' + validRegex: /^([^\s^\/])+$/ + - id: $$cap_redis_password + label: Redis Password + validRegex: /^([a-zA-Z0-9-_])+$/ + instructions: + start: >- + Redis is an open source key-value store that functions as a data structure server. - After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 6379 to other CapRover apps. + After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 6379 to other CapRover apps. - Enter your Redis container name and click on next. It will take about a minute for the process to finish. - end: "Redis is deployed and available as srv-captain--$$cap_appname:6379 to other apps. For example with NodeJS: const client = redis.createClient(6379, 'srv-captain--$$cap_appname' , {password: '$$cap_redis_password'})" - displayName: "" - isOfficial: true - description: Redis is an in-memory data structure store, used as a database, cache and message broker - documentation: Taken from https://hub.docker.com/_/redis + Enter your Redis container name and click on next. It will take about a minute for the process to finish. + end: "Redis is deployed and available as srv-captain--$$cap_appname:6379 to other apps. For example with NodeJS: const client = redis.createClient(6379, 'srv-captain--$$cap_appname' , {password: '$$cap_redis_password'})" + displayName: '' + isOfficial: true + description: Redis is an in-memory data structure store, used as a database, cache and message broker + documentation: Taken from https://hub.docker.com/_/redis |
