Added formatter

This commit is contained in:
Kasra Bigdeli
2020-06-23 18:57:05 -04:00
parent f431362499
commit b0dd2e829f
84 changed files with 2422 additions and 2549 deletions

View File

@@ -9,9 +9,7 @@
"$$cap_appname-db": {
"image": "postgres:$$cap_postgres_version",
"notExposeAsWebApp": "true",
"volumes": [
"$$cap_appname-db-data:/var/lib/postgresql/data"
],
"volumes": ["$$cap_appname-db-data:/var/lib/postgresql/data"],
"restart": "always",
"environment": {
"POSTGRES_USER": "$$cap_pg_user",
@@ -26,7 +24,8 @@
"start": "PostgreSQL, often simply Postgres, is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. As a database server, its primary function is to store data, securely and supporting best practices, and retrieve it later, as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). It can handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users.\n\n After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 5432 to other CapRover apps.\n\n Enter your Postgres Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end": "Postgres is deployed and available as srv-captain--$$cap_appname-db:5432 to other apps. For example with NodeJS: 'const client = new Client({ user: 'cap_pg_user', host: 'srv-captain--$$cap_appname', database: 'cap_pg_db', password: '********', port: 5432})'"
},
"variables": [{
"variables": [
{
"id": "$$cap_postgres_version",
"label": "Postgres Version",
"defaultValue": "9.6",
@@ -58,5 +57,4 @@
"validRegex": "/.{0,}/"
}
]
}