Skip to content

Instantly share code, notes, and snippets.

@ecthiender
Last active August 6, 2021 23:22
Show Gist options
  • Select an option

  • Save ecthiender/d148e7cff30c7c7037835b6bcf00cb3f to your computer and use it in GitHub Desktop.

Select an option

Save ecthiender/d148e7cff30c7c7037835b6bcf00cb3f to your computer and use it in GitHub Desktop.
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
@wackyapps

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment