Skip to content

Instantly share code, notes, and snippets.

@Adron
Created September 9, 2020 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Adron/0b2ea637b5e00681f4d62404805c3a00 to your computer and use it in GitHub Desktop.
Save Adron/0b2ea637b5e00681f4d62404805c3a00 to your computer and use it in GitHub Desktop.
version: '3.6'
services:
postgres:
image: postgres:12
restart: always
volumes:
- db_data:/Users/adron/Codez/databases
environment:
POSTGRES_PASSWORD: ${PPASSWORD}
ports:
- 5432:5432
graphql-engine:
image: hasura/graphql-engine:v1.1.0
ports:
- "8080:8080"
depends_on:
- "postgres"
restart: always
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:logistics@postgres:5432/postgres
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
volumes:
db_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment