mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Update CHANGELOG.md
This commit is contained in:
parent
9106328224
commit
0033dd4987
1 changed files with 5 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ To mount a custom `postgresql.conf` file, you need to create a `postgresql.conf`
|
|||
volumes:
|
||||
- dawarich_db_data:/var/lib/postgresql/data
|
||||
- dawarich_shared:/var/shared
|
||||
+ - ./postgresql.conf:/etc/postgresql/postgresql.conf # Provide path to custom config
|
||||
+ - ./postgresql.conf:/etc/postgresql/postgresql.conf # Provide path to custom config
|
||||
...
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres -d dawarich_development" ]
|
||||
|
|
@ -31,11 +31,13 @@ To mount a custom `postgresql.conf` file, you need to create a `postgresql.conf`
|
|||
retries: 5
|
||||
start_period: 30s
|
||||
timeout: 10s
|
||||
+ command: postgres -c config_file=/etc/postgresql/postgresql.conf # Use custom config
|
||||
+ command: postgres -c config_file=/etc/postgresql/postgresql.conf # Use custom config
|
||||
```
|
||||
|
||||
To ensure your database is using custom config, you can connect to the container (`docker exec -it dawarich_db psql -U postgres`) and run `SHOW config_file;` command. It should return the following path: `/etc/postgresql/postgresql.conf`.
|
||||
|
||||
An example of a custom `postgresql.conf` file is provided in the `postgresql.conf.example` file.
|
||||
|
||||
### Added
|
||||
|
||||
- A button on a year stats card to update stats for the whole year. #466
|
||||
|
|
@ -47,7 +49,7 @@ To ensure your database is using custom config, you can connect to the container
|
|||
...
|
||||
dawarich_db:
|
||||
image: postgres:14.2-alpine
|
||||
+ shm_size: 1G
|
||||
+ shm_size: 1G
|
||||
...
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue