mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
add graphql-engine
This commit is contained in:
parent
64717a6a11
commit
fb1af55838
@ -347,6 +347,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] gogs/gogs :cn:
|
- [x] gogs/gogs :cn:
|
||||||
- [x] gotify/server
|
- [x] gotify/server
|
||||||
- [x] grafana/grafana
|
- [x] grafana/grafana
|
||||||
|
- [x] hasura/graphql-engine
|
||||||
- [x] haproxy
|
- [x] haproxy
|
||||||
- [x] h2non/imaginary
|
- [x] h2non/imaginary
|
||||||
- [x] jellyfin/jellyfin
|
- [x] jellyfin/jellyfin
|
||||||
|
8
graphql-engine/README.md
Normal file
8
graphql-engine/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Hasura GraphQL Engine
|
||||||
|
=====================
|
||||||
|
|
||||||
|
[Hasura][1] is an open source product that accelerates API development by 10x by
|
||||||
|
giving you GraphQL or REST APIs with built in authorization on your data,
|
||||||
|
instantly.
|
||||||
|
|
||||||
|
[1]: https://hasura.io/docs/latest/graphql/core/index.html
|
30
graphql-engine/docker-compose.yml
Normal file
30
graphql-engine/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
graphql-engine:
|
||||||
|
image: hasura/graphql-engine:v2.1.0
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
environment:
|
||||||
|
HASURA_GRAPHQL_DATABASE_URL: postgres://hasura:hasura@postgres:5432/hasura
|
||||||
|
HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://hasura:hasura@postgres:5432/hasura
|
||||||
|
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
|
||||||
|
HASURA_GRAPHQL_DEV_MODE: "false"
|
||||||
|
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
|
||||||
|
HASURA_GRAPHQL_ADMIN_SECRET: secret
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres:14-alpine
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: hasura
|
||||||
|
POSTGRES_PASSWORD: hasura
|
||||||
|
POSTGRES_DB: hasura
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user