-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
53845714nF
authored and
53845714nF
committed
Dec 23, 2024
1 parent
9f67678
commit 124f8e4
Showing
8 changed files
with
57 additions
and
116 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
todo.md | ||
hasura/hasura | ||
hasura/hasura.exe | ||
img/ | ||
img/ | ||
.venv |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
|
||
services: | ||
postgres: | ||
image: postgres | ||
restart: no | ||
ports: | ||
- 5432:5432 | ||
volumes: | ||
- hasura_ci_db_data:/var/lib/postgresql/data | ||
environment: | ||
POSTGRES_PASSWORD: postgrespassword | ||
|
||
graphql-engine: | ||
image: hasura/graphql-engine:v2.36.1 | ||
restart: no | ||
ports: | ||
- 8080:8080 | ||
depends_on: | ||
- postgres | ||
environment: | ||
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres | ||
HASURA_GRAPHQL_ENABLE_CONSOLE: 'true' | ||
HASURA_GRAPHQL_ADMIN_SECRET: my-secret | ||
HASURA_GRAPHQL_JWT_SECRET: '{ "type": "HS256", "key": "this-is-a-generic-HS256-secret-key-and-you-should-really-change-it" }' | ||
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: anonymous | ||
JWT_URL: http://hasura-jwt:3000 | ||
|
||
hasura-jwt: | ||
build: | ||
context: ./src | ||
dockerfile: Dockerfile | ||
restart: no | ||
ports: | ||
- 3000:3000 | ||
environment: | ||
JWT_KEY: this-is-a-generic-HS256-secret-key-and-you-should-really-change-it | ||
HASURA_SECRET: my-secret | ||
APP_URL: http://localhost:3000 | ||
EMAIL_VERIFICATION: true | ||
SMTP_HOST: mail.example.com | ||
SMTP_PORT: '587' | ||
SMTP_USER: user@example.com | ||
SMTP_PASSWORD: user_password | ||
|
||
|
||
volumes: | ||
hasura_ci_db_data: |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,3 @@ type CreateUserOutput { | |
type JsonWebToken { | ||
Token: String! | ||
} | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk= | ||
github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= | ||
golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= | ||
golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= | ||
golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= | ||
golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= |