Wykres commitów

55 Commity (711b96844cb0fb992ab5f52a426ce317c63fbb08)

Autor SHA1 Wiadomość Data
FunkyPants 1464732b77
add log (#492)
|       env              | image_env               | default_value          |
|---------------------|----------------------|-------------|
| logging_collector   | LOGGING_COLLECTOR    | off         |
| log_directory       | LOG_DIRECTORY        | pg_log      |
| log_filename        | LOG_FILENAME         | xxx         |
| log_rotation_age    | LOG_ROTATION_AGE     | 1d          |
| log_rotation_size   | LOG_ROTATION_SIZE    | 100MB       |
| log_truncate_on_rotation | LOG_TRUNCATE_ON_ROTATION | on         |
| log_lock_waits      | LOG_LOCK_WAITS       | on          |
| log_duration        | LOG_DURATION         | on          |
| log_statement       | LOG_STATEMENT        | all         |
| log_min_duration_statement | LOG_MIN_DURATION_STATEMENT | 20        |
| log_connections     | LOG_CONNECTIONS      | on          |
| log_disconnections  | LOG_DISCONNECTS      | on          |
| log_line_prefix     | LOG_LINE_PREFIX      | xx          |
| log_timezone        | LOG_TIMEZONE         | Etc/UTC     |
2024-12-14 11:39:23 +02:00
mazano da42b90334
Upgrade to PG17 (#485)
* Upgrade to PG17



---------

Co-authored-by: Admire Nyakudya <mazano@MacBookAir.Dlink>
2024-10-19 14:01:20 +02:00
Vincent Delbar a4f9aa8e64
Update env-data.sh (#480)
Fixes #479
2024-08-14 00:51:25 +02:00
mazano 0772eb3100
fix timescale build args (#470)
* fix timescale build args

* fix #463

* fix https://github.com/kartoza/docker-postgis/issues/462#issuecomment-1980535546

* DRY functions

---------

Co-authored-by: spatialgeobyte <158478685+spatialgeobyte@users.noreply.github.com>
2024-03-17 20:07:08 +02:00
mazano 249de77ce6
Add option to run python scripts in entrypoint (#459)
* add option to also run python scripts
2023-10-23 17:27:18 +02:00
mazano 98f3c97e7d
upgrade to pg16 (#447)
* upgrade to pg16
2023-09-26 15:07:46 +02:00
mazano c816d5e72e
fix #439 (#445)
* fix #439

* add promote class
2023-09-04 21:56:45 +02:00
mazano 74bb497307
fix issue with multiple db creation and add test for this (#443)
* fix issue with multiple db creation and add test for this
2023-08-31 17:37:28 +02:00
mazano 80b4b715b6
add option to deactivate cron installation, run bash script through s… (#442)
* add option to deactivate cron installation, run bash script through shellcheck

* remove cron setting in compose
2023-08-20 23:27:11 +02:00
mazano d00a5f6bce
upgrade to 15-3.4 (#441) 2023-08-19 20:22:21 +02:00
mazano 863494e5af
fix #426 (#430)
* fix #426

* fix logic to get versions
2023-07-01 09:47:21 +02:00
mazano dec5cd55f0
fix changing file permisions on restart (#422) 2023-04-22 06:34:37 +02:00
mazano 212558072f
skip changing ownership of secrets folder (#421) 2023-04-15 08:01:16 +02:00
mazano 6eb1043519
fixes #416 (#417) 2023-03-25 11:13:07 +02:00
mazano 9f8f979b6e
run container as none root (#403)
* add option to run as none root and update tests
2023-02-01 06:42:32 +02:00
Benoit Orihuela b3fbc460e9
fix: also load pg_cron when timescale is enabled (#404) 2023-01-09 09:30:03 +02:00
mazano ac9ec47e3b
install tagged versions of extensions (#400)
* fix #391
2022-12-23 15:50:45 +02:00
mazano e7fd886c38
minor tweaks (#401) 2022-12-20 17:43:58 +02:00
mazano 904607b0a5
reactivate pg_cron (#398) 2022-12-06 19:05:26 +02:00
mazano d4ad04e57f
fix pg_hba (#396)
* fix unreported bug with mismatch values in pg_hba.conf and fix health check test
2022-12-02 13:44:07 +02:00
mazano 6fc6147160
postgresql 15 upgrade (#392)
* postgresql 15 upgrade

* fix compose

* fix workflows
2022-10-26 07:39:14 +02:00
mazano 01768bde07
Replication updates (#374)
* Archive and restore should not be on by default. They are eclusive to each other

* add option to use gzip with wal archiving
2022-05-09 20:43:27 +02:00
mazano 2078d4e0a5
fix ssl connection string in replication (#375)
* fix SSL connection string in streaming replication
2022-05-09 18:12:01 +02:00
mazano a36eab044a
only use archiving commands when mode is set to on (#371)
only use archiving commands when mode is set to on
2022-05-07 15:08:57 +02:00
mazano 3fc60d46e7
fix lock file mounts (#369)
* fix lock file mounts
2022-04-29 16:05:31 +02:00
mazano 2be8456411
fix promote to master in streaming replication (#370)
* fix promote to master in streaming replication

* remove tests in example compose

* Fix grammar error
2022-04-29 15:52:14 +02:00
mazano 55137f4418
Dry paswords (#339)
* DRY for password generation
2022-04-27 08:30:16 +02:00
mazano fcec79d052
Timescale build argument (#361)
* disable timescale build
2022-02-11 12:03:44 +02:00
mazano 2c4a732b78
Add option to auto tune postgresql config using timescale-db tune (#348)
* Add option to auto tune postgresql config using timescale-db tune
2021-12-03 19:08:00 +02:00
mazano 94cda98542
Run startup scripts against all databases specified in the env variab… (#335)
* Run startup scripts against all databases specified in the env variable POSTGRES_DB
2021-12-03 18:09:56 +02:00
mazano dcfb4e79c0
add timescale DB extension to the image (#341)
* add timescale DB extension to the image

* fix readme

* fix  duplicated upgrade entry in dockerfile
2021-11-14 16:36:03 +02:00
Rizky Maulana Nugraha dd9c11fdcf
fix #321: POSTGRES_INITDB_WALDIR handling (#324)
This is mainly to fix #321

Fix POSTGRES_INITDB_WALDIR behaviour as expected for the default setup.

With added several minor improvements:

* Add scenario tests for testing POSTGRES_INITDB_WALDIR possible setup
* Improve README.md
* Fix symlink resolution check
2021-08-19 20:55:32 +07:00
admire 979ca6c220 fix appending password to text file on restart and add description to mention pg-wal creation 2021-07-01 10:31:07 +02:00
admire cc3b0cc9b2 fix default pg_wal dir 2021-06-29 21:28:26 +02:00
admire 49ccb78627 fix init waldir 2021-06-28 17:31:18 +02:00
admire e78909e5b5 remove replication password which is repeated 2021-06-12 16:13:38 +02:00
admire f325268249 fix dir creation 2021-06-12 15:48:26 +02:00
admire 22550cdb1d wip - passwords 2021-06-10 18:27:48 +02:00
admire b8ce200076 random password and add kartoza figlet 2021-06-06 17:36:15 +02:00
admire c07305b85c add ssl_dir env to allow dynamic setup of custom certificates 2021-05-17 21:50:50 +02:00
admire ae656a2f72 Force cllients to connect with SSL 2021-05-04 13:10:19 +02:00
nilsnolde 06ef17a9ca fix README conflict 2021-03-02 11:48:46 +01:00
nilsnolde 55147c77a9 add IGNORE_INIT_HOOK_LOCKFILE env var to be able to execute scripts on every container startup 2021-03-01 14:00:39 +01:00
admire f3264d4db8 Random optimisations 2021-03-01 08:42:38 +02:00
admire 09c57349ee Some minor tweaks 2021-01-05 19:09:48 +02:00
admire 2f6cf6a071 added base build folder into main branch and various optimisations - revert commit for fixing passwords with strange characters - not worth the hassle 2021-01-02 23:34:42 +02:00
admire 77578f4a5c add pg-cron back with the image 2020-11-04 21:25:18 +02:00
mazano 07747252b2
Upgrade version to 13.0 (#276)
* Upgrade version to 13.0

* Fix failing tests and add more env variable customisations

* Use args for building versions

* remove unneeded line
2020-10-09 08:09:56 +02:00
mazano 46d64624a9
Add logical replication (#264)
* WIP

* Added logic to split between streaming and logical replication

* fix descriptions in readme

* added replication settings to conf files for logical repl

* Rename services to proper names for replication

* Fix review issues

* added test for logical replication

* add logical replication test to travis

* fix script for startup in logical replications

* fix volume declaration

* Fix and improve replication unittests

Co-authored-by: Rizky Maulana Nugraha <lana.pcfre@gmail.com>
2020-10-01 17:55:53 +02:00
mazano 444f19e13d
Fix default values for wal storage and archiving (#269) 2020-08-25 08:53:45 +02:00