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:
|
Container share memory can be configured with:
|
||||||
```yaml
|
```yaml
|
||||||
postgres_share_memory: '1g'
|
postgres_ha_share_memory: '1g'
|
||||||
```
|
```
|
||||||
|
|
||||||
Metrics exporter for query performance can be activated with:
|
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_run_size: '512K'
|
||||||
postgres_ha_cont_tmp_size: '256K'
|
postgres_ha_cont_tmp_size: '256K'
|
||||||
|
|
||||||
#postgres_share_memory: '64m'
|
#postgres_ha_share_memory: '64m'
|
||||||
# Alter System
|
# Alter System
|
||||||
postgres_ha_alter_system_settings: {}
|
postgres_ha_alter_system_settings: {}
|
||||||
# max_wal_size: '1GB'
|
# max_wal_size: '1GB'
|
||||||
|
|
|
@ -5,8 +5,8 @@ services:
|
||||||
container_name: '{{ postgres_ha_cont_name }}'
|
container_name: '{{ postgres_ha_cont_name }}'
|
||||||
image: '{{ postgres_ha_cont_image }}'
|
image: '{{ postgres_ha_cont_image }}'
|
||||||
restart: always
|
restart: always
|
||||||
{% if postgres_share_memory is defined %}
|
{% if postgres_ha_share_memory is defined %}
|
||||||
shm_size: '{{ postgres_share_memory }}'
|
shm_size: '{{ postgres_ha_share_memory }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: '{{ postgres_ha_db_name | mandatory }}'
|
POSTGRES_DB: '{{ postgres_ha_db_name | mandatory }}'
|
||||||
|
|
Loading…
Reference in New Issue