From 7ff9f634dfbde8271d03516af636a639138fe780 Mon Sep 17 00:00:00 2001 From: Zeeshan Akram <97m.zeeshan@gmail.com> Date: Tue, 16 Jan 2024 16:26:28 +0500 Subject: [PATCH] address docker-compose CRs --- docker-compose-no-bind-volumes.yml | 2 +- docker-compose.storage-squid.yml | 6 +++--- docker-compose.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose-no-bind-volumes.yml b/docker-compose-no-bind-volumes.yml index 78ee52c629..559f5b7bb6 100644 --- a/docker-compose-no-bind-volumes.yml +++ b/docker-compose-no-bind-volumes.yml @@ -307,7 +307,7 @@ services: - '127.0.0.1:${ORION_DB_PORT}:${ORION_DB_PORT}' command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${ORION_DB_PORT}'] # command: ['postgres', '-p', '${ORION_DB_PORT}'] - shm_size: 1g + shm_size: 1.1g # A bit higher than `shared_buffers` value in postgres.conf volumes: - orion-db-data:/var/lib/postgresql/data - ./orion-postgres.conf:/etc/postgresql/postgresql.conf diff --git a/docker-compose.storage-squid.yml b/docker-compose.storage-squid.yml index 8e380eeec7..c0ac785a58 100644 --- a/docker-compose.storage-squid.yml +++ b/docker-compose.storage-squid.yml @@ -4,7 +4,7 @@ services: squid_db: container_name: squid_db hostname: squid-db - image: postgres:14 + image: postgres:16 restart: unless-stopped environment: POSTGRES_DB: ${SQUID_DB_NAME} @@ -12,9 +12,9 @@ services: networks: - joystream ports: - - '${SQUID_DB_PORT}:${SQUID_DB_PORT}' + - '127.0.0.1:${SQUID_DB_PORT}:${SQUID_DB_PORT}' command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${SQUID_DB_PORT}'] - shm_size: 1g + shm_size: 1.1g # A bit higher than `shared_buffers` value in postgres.conf volumes: - squid_db_data:/var/lib/postgresql/data - ./postgres.conf:/etc/postgresql/postgresql.conf diff --git a/docker-compose.yml b/docker-compose.yml index 9555de7873..3ecebb6a60 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -237,7 +237,7 @@ services: " indexer: - image: joystream/hydra-indexer:v5.0.0-alpha.1 + image: hydra-indexer container_name: indexer restart: unless-stopped env_file: @@ -319,7 +319,7 @@ services: - '127.0.0.1:${ORION_DB_PORT}:${ORION_DB_PORT}' command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${ORION_DB_PORT}'] # command: ['postgres', '-p', '${ORION_DB_PORT}'] - shm_size: 1g + shm_size: 1.1g # A bit higher than `shared_buffers` value in postgres.conf volumes: - orion-db-data:/var/lib/postgresql/data - ./postgres.conf:/etc/postgresql/postgresql.conf