summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-06-15 11:54:41 -0400
committerKasra Bigdeli <[email protected]>2020-06-15 11:54:41 -0400
commit19a736909bf830cdc2b0724959232b952865d579 (patch)
tree12df0054791328cca16071f22e4fc19c0c3a4ece
parentf27e94c4215eb93792999d326a5e3a9dd8c2769d (diff)
downloadcaprover-one-click-apps-19a736909bf830cdc2b0724959232b952865d579.tar.gz
caprover-one-click-apps-19a736909bf830cdc2b0724959232b952865d579.zip
updated Hasura to use postgres12
-rw-r--r--public/v2/apps/hasura.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/public/v2/apps/hasura.json b/public/v2/apps/hasura.json
index 31b160e..10822e9 100644
--- a/public/v2/apps/hasura.json
+++ b/public/v2/apps/hasura.json
@@ -7,7 +7,7 @@
"version": "3.6",
"services": {
"$$cap_appname-db": {
- "image": "mdillon/postgis:$$cap_mdillon_postgis_version",
+ "image": "postgres:$$cap_postgres_version",
"notExposeAsWebApp": "true",
"volumes": [
"$$cap_appname-db-data:/var/lib/postgresql/data"
@@ -28,9 +28,10 @@
],
"restart": "always",
"environment": {
- " HASURA_GRAPHQL_DATABASE_URL": "postgres://$$cap_pg_user:$$cap_pg_pass@srv-captain--$$cap_appname-db:5432/$$cap_pg_db",
+ "HASURA_GRAPHQL_DATABASE_URL": "postgres://$$cap_pg_user:$$cap_pg_pass@srv-captain--$$cap_appname-db:5432/$$cap_pg_db",
"HASURA_GRAPHQL_ENABLE_CONSOLE": "true",
- "HASURA_GRAPHQL_ADMIN_SECRET":"$$cap_admin_secret"
+ "HASURA_GRAPHQL_ADMIN_SECRET":"$$cap_admin_secret",
+ "HASURA_GRAPHQL_ENABLED_LOG_TYPES": "startup, http-log, webhook-log, websocket-log, query-log"
}
}
}
@@ -41,17 +42,16 @@
},
"variables":[
{
- "defaultValue":"v1.1.1",
+ "defaultValue":"v1.2.2",
"description":"Check out their GitHub page for their latest version https://github.com/hasura/graphql-engine",
"id":"$$cap_hasura_version",
"label":"Hasura Version",
"validRegex":"/^([^\\s^\\/])+$/"
},
{
- "defaultValue":"11",
- "description":"mdillon/postgis provides a Docker container running Postgres with PostGIS installed. Check out their Docker page for their available tags https://hub.docker.com/r/mdillon/postgis/tags",
- "id":"$$cap_mdillon_postgis_version",
- "label":"mdillon/postgis Version",
+ "defaultValue":"12",
+ "id":"$$cap_postgres_version",
+ "label":"Postgres Version",
"validRegex":"/^([^\\s^\\/])+$/"
},
{