Last active
August 6, 2021 23:22
-
-
Save ecthiender/d148e7cff30c7c7037835b6bcf00cb3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| graphql-engine: | |
| image: hasura/graphql-engine:latest | |
| ports: | |
| - '80:8080' | |
| restart: always | |
| environment: | |
| HASURA_GRAPHQL_DATABASE_URL: postgres://<rds-user>:<rds-password>@<rds-instance>:5432/<rds-dbname> | |
| HASURA_GRAPHQL_ACCESS_KEY: mylongsecretaccesskey | |
| command: | |
| - graphql-engine | |
| - serve | |
| - --enable-console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am connected in Putty over ssh to my ec2 instance.
How do I make this file on EC2. I am following your blog https://hasura.io/blog/instant-graphql-on-aws-rds-1edfb85b5985/
I am new to this AWS