docker: fix postgres_ha_share_memory variable name

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-10-30 11:36:36 +01:00
parent e48e129d8b
commit 0e166b76b4
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
3 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ postgres_ha_alter_system_settings:
Container share memory can be configured with:
```yaml
postgres_share_memory: '1g'
postgres_ha_share_memory: '1g'
```
Metrics exporter for query performance can be activated with:

View File

@ -15,7 +15,7 @@ postgres_ha_host_uid: '{{ 100000 + postgres_ha_cont_uid | int }}'
postgres_ha_cont_run_size: '512K'
postgres_ha_cont_tmp_size: '256K'
#postgres_share_memory: '64m'
#postgres_ha_share_memory: '64m'
# Alter System
postgres_ha_alter_system_settings: {}
# max_wal_size: '1GB'

View File

@ -5,8 +5,8 @@ services:
container_name: '{{ postgres_ha_cont_name }}'
image: '{{ postgres_ha_cont_image }}'
restart: always
{% if postgres_share_memory is defined %}
shm_size: '{{ postgres_share_memory }}'
{% if postgres_ha_share_memory is defined %}
shm_size: '{{ postgres_ha_share_memory }}'
{% endif %}
environment:
POSTGRES_DB: '{{ postgres_ha_db_name | mandatory }}'