Last active
February 16, 2020 12:50
-
-
Save ecthiender/3ee1fbd13e701e93028c4d63552e9c7d 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: | |
timescale: | |
image: timescale/timescaledb:latest-pg10 | |
restart: always | |
environment: | |
POSTGRES_PASSWORD: postgrespassword | |
volumes: | |
- db_data:/var/lib/postgresql/data | |
graphql-engine: | |
image: hasura/graphql-engine:v1.0.0-alpha20 | |
ports: | |
- "8080:8080" | |
depends_on: | |
- "timescale" | |
restart: always | |
environment: | |
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@timescale:5432/postgres | |
HASURA_GRAPHQL_ACCESS_KEY: mylongsecretkey | |
command: | |
- graphql-engine | |
- serve | |
- --enable-console | |
volumes: | |
db_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment