diff --git a/haf_base.yaml b/haf_base.yaml index fb5c18ef9c7105058a2214c0b300af2c2254936f..5656a0fb439c03f01e5ab9b21203deaf6b3f3642 100644 --- a/haf_base.yaml +++ b/haf_base.yaml @@ -58,6 +58,7 @@ services: host haf_block_log haf_admin ${COMPOSE_PROJECT_NAME}-hivemind-server-1.${NETWORK_NAME} trust\n host haf_block_log hivemind ${COMPOSE_PROJECT_NAME}-hivemind-server-1.${NETWORK_NAME} trust\n host haf_block_log hivemind ${COMPOSE_PROJECT_NAME}-hivemind-postgrest-server-1.${NETWORK_NAME} trust\n + host haf_block_log hivemind_user ${COMPOSE_PROJECT_NAME}-hivemind-postgrest-server-1.${NETWORK_NAME} trust\n host haf_block_log haf_admin ${COMPOSE_PROJECT_NAME}-hivemind-uninstall-1.${NETWORK_NAME} trust\n diff --git a/hivemind.yaml b/hivemind.yaml index 655e0acf6643f037ed42f001296711a165f4e2ed..03f5aa17f2243e7f38fcb1276c4aebadea849716 100644 --- a/hivemind.yaml +++ b/hivemind.yaml @@ -77,10 +77,10 @@ services: environment: PGRST_ADMIN_SERVER_PORT: 3001 PGRST_SERVER_PORT: 8080 - PGRST_DB_URI: "postgresql://hivemind@haf/haf_block_log?application_name=hive-mind-postgrest" # warning hivemind improperly matches all connections starting from `hivemind` and crashes if they are made externally (not from python) + PGRST_DB_URI: "postgresql://hivemind_user@haf/haf_block_log?application_name=hive-mind-postgrest" # warning hivemind improperly matches all connections starting from `hivemind` and crashes if they are made externally (not from python) PGRST_DB_SCHEMA: hivemind_endpoints # PGRST_DB_ROOT_SPEC: home - PGRST_DB_ANON_ROLE: hivemind + PGRST_DB_ANON_ROLE: hivemind_user PGRST_DB_POOL: 40 PGRST_DB_POOL_ACQUISITION_TIMEOUT: 10 PGRST_OPENAPI_MODE: "disabled" # unclear why this is set, I guess because we currently only support json-rpc? diff --git a/logging.conf b/logging.conf index 8e8a4121dd334a69b0bc45adfbf8e95bca4ce961..64e8863162ca977dfd22369494fe155bc50eecfa 100644 --- a/logging.conf +++ b/logging.conf @@ -6,7 +6,7 @@ log_checkpoints = on log_connections = on log_disconnections = on log_lock_waits = on -log_temp_files = 0 +log_temp_files = 200 log_autovacuum_min_duration = 0 log_error_verbosity = default log_filename = 'postgresql.log'