Add Hasura

This commit is contained in:
Charles Bochet
2022-12-28 22:32:55 +01:00
parent 9b749c6de3
commit 9fb4f21180
5 changed files with 70 additions and 17 deletions

View File

@ -9,7 +9,7 @@ services:
depends_on:
- postgres
twenty-api:
image: hasura/graphql-engine:latest
build: ./twenty-api
ports:
- "8080:8080"
depends_on:

View File

@ -0,0 +1,3 @@
FROM hasura/graphql-engine:latest as api
CMD ["sh", "-c", "graphql-engine serve"]