docker: fix postgres_ha_share_memory variable name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e48e129d8b
commit
0e166b76b4
|
@ -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:
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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 }}'
|
||||
|
|
Loading…
Reference in New Issue