Skip to content

Commit

Permalink
update change
Browse files Browse the repository at this point in the history
  • Loading branch information
commit111 committed Nov 26, 2024
1 parent 172ef38 commit ef94ba7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion samples/hasura/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ docker compose -f ./compose.yaml -f ./compose.dev.yaml up --build
```
This will start the Postgres container (from `compose.dev.yaml`) and the Hasura container (from `compose.yaml` with some overrides). The Hasura console will be available at `http://localhost:8080` with the password `password`.

> Note: If you want to make changes to your database, permissions, etc. see [Editing Hasura Settings](#editing-hasura-settings) for more information.
> Note: If you want to make changes to your database, permissions, etc. see [Editing Hasura Settings](#editing-hasura-settings).
### Editing Hasura Settings

Expand Down
8 changes: 4 additions & 4 deletions samples/hasura/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- HASURA_GRAPHQL_DEFAULT_NAMING_CONVENTION=graphql-default
- HASURA_GRAPHQL_MIGRATIONS_DIR=/hasura/migrations
- HASURA_GRAPHQL_METADATA_DIR=/hasura/metadata
#deploy:
# resources:
# reservations:
# memory: 256M
deploy:
resources:
reservations:
memory: 256M
10 changes: 1 addition & 9 deletions samples/huginn/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
resources:
reservations:
cpus: '1.0'
memory: '2G'
memory: 1G
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
interval: 1m30s
Expand All @@ -22,11 +22,3 @@ services:
- DATABASE_USERNAME=huginn
- DATABASE_PASSWORD
- DATABASE_HOST=postgres
depends_on:
- postgres
postgres:
image: postgres:16
environment:
- POSTGRES_USER=huginn
- POSTGRES_PASSWORD
- POSTGRES_DB=huginn

0 comments on commit ef94ba7

Please sign in to comment.