updated Hasura to use postgres12

This commit is contained in:
Kasra Bigdeli 2020-06-15 11:54:41 -04:00
parent f27e94c421
commit 19a736909b
1 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@
"version": "3.6", "version": "3.6",
"services": { "services": {
"$$cap_appname-db": { "$$cap_appname-db": {
"image": "mdillon/postgis:$$cap_mdillon_postgis_version", "image": "postgres:$$cap_postgres_version",
"notExposeAsWebApp": "true", "notExposeAsWebApp": "true",
"volumes": [ "volumes": [
"$$cap_appname-db-data:/var/lib/postgresql/data" "$$cap_appname-db-data:/var/lib/postgresql/data"
@ -28,9 +28,10 @@
], ],
"restart": "always", "restart": "always",
"environment": { "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_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":[ "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", "description":"Check out their GitHub page for their latest version https://github.com/hasura/graphql-engine",
"id":"$$cap_hasura_version", "id":"$$cap_hasura_version",
"label":"Hasura Version", "label":"Hasura Version",
"validRegex":"/^([^\\s^\\/])+$/" "validRegex":"/^([^\\s^\\/])+$/"
}, },
{ {
"defaultValue":"11", "defaultValue":"12",
"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_postgres_version",
"id":"$$cap_mdillon_postgis_version", "label":"Postgres Version",
"label":"mdillon/postgis Version",
"validRegex":"/^([^\\s^\\/])+$/" "validRegex":"/^([^\\s^\\/])+$/"
}, },
{ {