diff --git a/samples/hasura/README.md b/samples/hasura/README.md index 80e8ce94..52d49415 100644 --- a/samples/hasura/README.md +++ b/samples/hasura/README.md @@ -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 diff --git a/samples/hasura/compose.yaml b/samples/hasura/compose.yaml index e7e7329a..2517fab5 100644 --- a/samples/hasura/compose.yaml +++ b/samples/hasura/compose.yaml @@ -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 \ No newline at end of file diff --git a/samples/huginn/compose.yaml b/samples/huginn/compose.yaml index 5985c712..bc2966fd 100644 --- a/samples/huginn/compose.yaml +++ b/samples/huginn/compose.yaml @@ -10,7 +10,7 @@ services: resources: reservations: cpus: '1.0' - memory: '2G' + memory: 1G healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/"] interval: 1m30s @@ -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 \ No newline at end of file