diff --git a/README.md b/README.md index de2c33989..ef64cdfc7 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Free RDS for PostgreSQL! Check [**Feature**](docs/FEATURE.md) | [**亮点特性**](docs/FEATURE_ZH.md) for details. -- Battery-Included [PostgreSQL](https://www.postgresql.org/) Distribution, with [PostGIS](https://postgis.net/), [TimescaleDB](https://www.timescale.com/), [Citus](https://www.citusdata.com/), [PGVectors](https://github.com/pgvector/pgvector), etc... +- Battery-Included [PostgreSQL](https://www.postgresql.org/) Distribution, with [PostGIS](https://postgis.net/), [TimescaleDB](https://www.timescale.com/), [Citus](https://www.citusdata.com/), [PGVector](https://github.com/pgvector/pgvector), etc... - Incredible observability powered by [Prometheus](https://prometheus.io/) & [Grafana](https://grafana.com/) stack. - Self-healing HA PGSQL cluster, powered by [patroni](https://patroni.readthedocs.io/en/latest/), [haproxy](http://www.haproxy.org/), [etcd](https://etcd.io/). - Auto-Configured PITR, powered by [pgBackRest](https://pgbackrest.org/) and optional [MinIO](https://min.io/) repo. diff --git a/bin/parse_nginx.py b/bin/parse_nginx.py old mode 100644 new mode 100755 diff --git a/docs/PARAM.md b/docs/PARAM.md index aa34bbe1e..bbc81c1ad 100644 --- a/docs/PARAM.md +++ b/docs/PARAM.md @@ -802,10 +802,10 @@ nginx_ssl_port: 443 # nginx ssl listen port, 443 by default nginx_navbar: # nginx index page navigation links - { name: CA Cert ,url: '/ca.crt' ,desc: 'pigsty self-signed ca.crt' } - { name: Package ,url: '/pigsty' ,desc: 'local yum repo packages' } - - { name: Explain ,url: '/pev.html' ,desc: 'postgres explain visualizer' } - { name: PG Logs ,url: '/logs' ,desc: 'postgres raw csv logs' } - { name: Reports ,url: '/report' ,desc: 'pgbadger summary report' } -``` + - { name: Explain ,url: '/pigsty/pev.html' ,desc: 'postgres explain visualizer' } + ``` ### `nginx_enabled` @@ -878,9 +878,9 @@ default value: nginx_navbar: # nginx index page navigation links - { name: CA Cert ,url: '/ca.crt' ,desc: 'pigsty self-signed ca.crt' } - { name: Package ,url: '/pigsty' ,desc: 'local yum repo packages' } - - { name: Explain ,url: '/pev.html' ,desc: 'postgres explain visualizer' } - { name: PG Logs ,url: '/logs' ,desc: 'postgres raw csv logs' } - { name: Reports ,url: '/report' ,desc: 'pgbadger summary report' } + - { name: Explain ,url: '/pigsty/pev.html' ,desc: 'postgres explain visualizer' } ``` Each record is rendered as a navigation link to the Pigsty home page App drop-down menu, and the apps are all optional, mounted by default on the Pigsty default server under `http://pigsty/`. diff --git a/docs/README.md b/docs/README.md index 74261ef0d..4da60c854 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,7 +14,7 @@ Free RDS for PostgreSQL! check [**Feature**](FEATURE.md) | [**亮点特性**](FEATURE_ZH.md) for details. -- Battery-Included [PostgreSQL](https://www.postgresql.org/) Distribution, with [PostGIS](https://postgis.net/), [TimescaleDB](https://www.timescale.com/), [Citus](https://www.citusdata.com/), [PGVectors](https://github.com/pgvector/pgvector), etc... +- Battery-Included [PostgreSQL](https://www.postgresql.org/) Distribution, with [PostGIS](https://postgis.net/), [TimescaleDB](https://www.timescale.com/), [Citus](https://www.citusdata.com/), [PGVector](https://github.com/pgvector/pgvector), etc... - Incredible observability powered by [Prometheus](https://prometheus.io/) & [Grafana](https://grafana.com/) stack. Public [Demo](http://demo.pigsty.cc). - Self-healing HA PGSQL cluster, powered by [patroni](https://patroni.readthedocs.io/en/latest/), [haproxy](http://www.haproxy.org/), [etcd](https://etcd.io/)... - Auto-Configured PITR, powered by [pgbackrest](https://pgbackrest.org/) and optional [MinIO](https://min.io/) cluster diff --git a/docs/RELEASENOTE.md b/docs/RELEASENOTE.md index e4a8b2ede..b93c9ab05 100644 --- a/docs/RELEASENOTE.md +++ b/docs/RELEASENOTE.md @@ -34,14 +34,23 @@ ## v2.0.2 +**Highlight** + +* New extension [`pgvector`](https://github.com/pgvector/pgvecto) +* MinIO CVE-2023-28432 fix, and upgrade to 20230324 with new policy API + +**Changes** + * Add `pgvector` extension to support vector similarity search, now you can store OpenAI embedding with it! * [MinIO CVE-2023-28432]: https://github.com/Vonng/pigsty/issues/265 +* Add reload functionality to DNSMASQ systemd services * Bump pev to v1.8 * Bump grafana to v9.4.7 -* Bump MinIO to 20230324 +* Bump MinIO and MCLI version to 20230324 +* Bump bytebase version to v1.15.0 * Upgrade monitoring dashboards and fix dead links * Upgrade aliyun terraform template image to rockylinux 9 -* Following grafana provisioning API change since v9.4 +* Adopt grafana provisioning API change since v9.4 * Add asciinema videos for various administration tasks * Fix broken EL8 pgsql deps: remove anonymizer_15 faker_15 and pgloader diff --git a/files/cmdb.sql b/files/cmdb.sql index 73a2fb2c7..144df9167 100644 --- a/files/cmdb.sql +++ b/files/cmdb.sql @@ -1263,7 +1263,7 @@ INSERT INTO pigsty.default_var VALUES (122, 'nginx_home', '"/www"', 'INFRA', 'NGINX', 'path', 'G', 'nginx content dir, `/www` by default', NULL), (123, 'nginx_port', '80', 'INFRA', 'NGINX', 'port', 'G', 'nginx listen port, 80 by default', NULL), (124, 'nginx_ssl_port', '443', 'INFRA', 'NGINX', 'port', 'G', 'nginx ssl listen port, 443 by default', NULL), -(125, 'nginx_navbar', '[{"url": "/ca.crt", "desc": "pigsty self-signed ca.crt", "name": "CA Cert"}, {"url": "/pigsty", "desc": "local yum repo packages", "name": "Package"}, {"url": "/pev.html", "desc": "postgres explain visualizer", "name": "Explain"}, {"url": "/logs", "desc": "postgres raw csv logs", "name": "PG Logs"}, {"url": "/report", "desc": "pgbadger summary report", "name": "Reports"}]', 'INFRA', 'NGINX', 'index[]', 'G', 'nginx index page navigation links', NULL), +(125, 'nginx_navbar', '[{"url": "/ca.crt", "desc": "pigsty self-signed ca.crt", "name": "CA Cert"}, {"url": "/pigsty", "desc": "local yum repo packages", "name": "Package"}, {"url": "/pigsty/pev.html", "desc": "postgres explain visualizer", "name": "Explain"}, {"url": "/logs", "desc": "postgres raw csv logs", "name": "PG Logs"}, {"url": "/report", "desc": "pgbadger summary report", "name": "Reports"}]', 'INFRA', 'NGINX', 'index[]', 'G', 'nginx index page navigation links', NULL), (126, 'dns_enabled', 'true', 'INFRA', 'DNS', 'bool', 'G/I', 'setup dnsmasq on this infra node?', NULL), (127, 'dns_port', '53', 'INFRA', 'DNS', 'port', 'G', 'dns server listen port, 53 by default', NULL), (128, 'dns_records', '["${admin_ip} h.pigsty a.pigsty p.pigsty g.pigsty", "${admin_ip} api.pigsty adm.pigsty cli.pigsty ddl.pigsty lab.pigsty git.pigsty sss.pigsty wiki.pigsty"]', 'INFRA', 'DNS', 'string[]', 'G', 'dynamic dns records resolved by dnsmasq', NULL), diff --git a/files/pigsty/demo.yml b/files/pigsty/demo.yml index 2925aa858..036f3ce89 100644 --- a/files/pigsty/demo.yml +++ b/files/pigsty/demo.yml @@ -112,7 +112,7 @@ all: - { name: Gitea , url : 'http://git.pigsty' , comment: 'Gitea Git Service' } - { name: Minio , url : 'http://sss.pigsty' , comment: 'Minio Object Storage' } - { name: Wiki , url : 'http://wiki.pigsty' , comment: 'Local Wikipedia' } - - { name: Explain , url : '/pev.html' , comment: 'pgsql explain visualizer' } + - { name: Explain , url : '/pigsty/pev.html' , comment: 'pgsql explain visualizer' } - { name: Package , url : '/pigsty' , comment: 'local yum repo packages' } - { name: PG Logs , url : '/logs' , comment: 'postgres raw csv logs' } - { name: Schemas , url : '/schema' , comment: 'schemaspy summary report' } diff --git a/files/pigsty/full.yml b/files/pigsty/full.yml index cd276c8ce..ff2d1ebce 100644 --- a/files/pigsty/full.yml +++ b/files/pigsty/full.yml @@ -281,9 +281,9 @@ all: nginx_navbar: # nginx index page navigation links - { name: CA Cert ,url: '/ca.crt' ,desc: 'pigsty self-signed ca.crt' } - { name: Package ,url: '/pigsty' ,desc: 'local yum repo packages' } - - { name: Explain ,url: '/pev.html' ,desc: 'postgres explain visualizer' } - { name: PG Logs ,url: '/logs' ,desc: 'postgres raw csv logs' } - { name: Reports ,url: '/report' ,desc: 'pgbadger summary report' } + - { name: Explain ,url: '/pigsty/pev.html' ,desc: 'postgres explain visualizer' } #----------------------------------------------------------------- # DNS diff --git a/files/pigsty/public.yml b/files/pigsty/public.yml index ed6959c04..80f5d4b0d 100644 --- a/files/pigsty/public.yml +++ b/files/pigsty/public.yml @@ -113,7 +113,7 @@ all: - { name: Gitea , url: 'http://git.pigsty.cc' , comment: 'Gitea Git Service' } - { name: Minio , url: 'http://sss.pigsty.cc' , comment: 'Minio Object Storage' } - { name: Wiki , url: 'http://wiki.pigsty.cc' , comment: 'Local Wikipedia' } - - { name: Explain , url: '/pev.html' , comment: 'postgres explain visualizer' } + - { name: Explain , url: '/pigsty/pev.html' , comment: 'postgres explain visualizer' } - { name: Package , url: '/pigsty' , comment: 'local yum repo packages' } - { name: PG Logs , url: '/logs' , comment: 'postgres raw csv logs' } - { name: Schemas , url: '/schema' , comment: 'schemaspy summary report' } diff --git a/files/pigsty/test.yml b/files/pigsty/test.yml index 20f43dad5..14da12680 100644 --- a/files/pigsty/test.yml +++ b/files/pigsty/test.yml @@ -69,7 +69,7 @@ all: - { name: Gitea , url : 'http://git.pigsty' , comment: 'Gitea Git Service' } - { name: Minio , url : 'http://sss.pigsty' , comment: 'Minio Object Storage' } - { name: Wiki , url : 'http://wiki.pigsty' , comment: 'Local Wikipedia' } - - { name: Explain , url : '/pev.html' , comment: 'pgsql explain visualizer' } + - { name: Explain , url : '/pigsty/pev.html' , comment: 'pgsql explain visualizer' } - { name: Package , url : '/pigsty' , comment: 'local yum repo packages' } - { name: PG Logs , url : '/logs' , comment: 'postgres raw csv logs' } - { name: Schemas , url : '/schema' , comment: 'schemaspy summary report' } diff --git a/pigsty.yml b/pigsty.yml index b2b9ead31..709742921 100644 --- a/pigsty.yml +++ b/pigsty.yml @@ -112,7 +112,7 @@ all: - { name: Gitea , url : 'http://git.pigsty' , comment: 'Gitea Git Service' } - { name: Minio , url : 'http://sss.pigsty' , comment: 'Minio Object Storage' } - { name: Wiki , url : 'http://wiki.pigsty' , comment: 'Local Wikipedia' } - - { name: Explain , url : '/pev.html' , comment: 'pgsql explain visualizer' } + - { name: Explain , url : '/pigsty/pev.html' , comment: 'pgsql explain visualizer' } - { name: Package , url : '/pigsty' , comment: 'local yum repo packages' } - { name: PG Logs , url : '/logs' , comment: 'postgres raw csv logs' } - { name: Schemas , url : '/schema' , comment: 'schemaspy summary report' } diff --git a/roles/infra/defaults/main.yml b/roles/infra/defaults/main.yml index 6db63cdfb..91a2aed53 100644 --- a/roles/infra/defaults/main.yml +++ b/roles/infra/defaults/main.yml @@ -30,9 +30,9 @@ nginx_ssl_port: 443 # nginx ssl listen port, 443 by default nginx_navbar: # nginx index page navigation links - { name: CA Cert ,url: '/ca.crt' ,desc: 'pigsty self-signed ca.crt' } - { name: Package ,url: '/pigsty' ,desc: 'local yum repo packages' } - - { name: Explain ,url: '/pev.html' ,desc: 'postgres explain visualizer' } - { name: PG Logs ,url: '/logs' ,desc: 'postgres raw csv logs' } - { name: Reports ,url: '/report' ,desc: 'pgbadger summary report' } + - { name: Explain ,url: '/pigsty/pev.html' ,desc: 'postgres explain visualizer' } #----------------------------------------------------------------- # DNS