Created
May 4, 2020 19:10
-
-
Save johnniehard/c2bb07c4c926d665361e056793c4b058 to your computer and use it in GitHub Desktop.
Hasura on Dokku, from: https://github.com/hasura/graphql-engine-heroku/issues/36#issuecomment-609016274
This file contains 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
dokku apps:create hasura | |
dokku domains:add hasura hasura.my.domain.com | |
dokku postgres:create hasura-db | |
dokku postgres:link hasura-db hasura | |
dokku config:set hasura HASURA_GRAPHQL_DATABASE_URL="<info from above command>" HASURA_GRAPHQL_ADMIN_SECRET="blahblah" HASURA_GRAPHQL_ENABLE_CONSOLE="true" | |
dokku proxy:ports-set hasura http:80:8080 | |
docker pull hasura/graphql-engine | |
docker tag hasura/graphql-engine dokku/hasura | |
dokku tags:deploy hasura | |
dokku letsencrypt hasura |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment