Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Feb 29, 2024
1 parent 355f352 commit 1464385
Show file tree
Hide file tree
Showing 35 changed files with 63 additions and 63 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
>
> —— Battery-Included, Local-First **PostgreSQL** Distribution as an Open-Source **RDS** Alternative
>
> [Website](https://pigsty.io/) | [Demo](https://demo.pigsty.cc) | [Blog](https://pigsty.io/en/blog) | [Discuss](https://github.com/Vonng/pigsty/discussions) | [Discord](https://discord.gg/V6sBDXN9) | [Roadmap](https://github.com/users/Vonng/projects/2/views/3) | [中文站点](https://pigsty.io/zh/)
> [Website](https://pigsty.io/) | [Demo](https://demo.pigsty.cc) | [Blog](https://pigsty.io/blog) | [Discuss](https://github.com/Vonng/pigsty/discussions) | [Discord](https://discord.gg/V6sBDXN9) | [Roadmap](https://github.com/users/Vonng/projects/2/views/3) | [中文站点](https://pigsty.io/zh/)
>
> [Get Started](docs/INSTALL.md) with the latest [v2.6.0](https://github.com/Vonng/pigsty/releases/tag/v2.6.0) release: `curl -fsSL https://get.pigsty.cc/latest`
Expand Down Expand Up @@ -53,7 +53,7 @@ MD5: xxxxxx.......xxxxxxxxxx /tmp/pigsty-v2.6.0.tgz
[ OK ] $ tar -xf /tmp/pigsty-v2.6.0.tgz -C ~;
[Reference] ===========================================
Official Site: https://pigsty.cc
Get Started: https://pigsty.io/en/docs/install
Get Started: https://pigsty.io/docs/setup/install/
Documentation: https://doc.pigsty.cc
Github Repo: https://github.com/Vonng/pigsty
Public Demo: https://demo.pigsty.cc
Expand Down Expand Up @@ -446,7 +446,7 @@ We have also extended compatibility support (OS, Distro, PG, Arch) in our servic

Docs: https://pigsty.io/

Website: https://pigsty.io/en/ | https://pigsty.io/zh/
Website: https://pigsty.io/ | https://pigsty.io/zh/

WeChat: Search `pigsty-cc` to join the WeChat group.

Expand Down
2 changes: 1 addition & 1 deletion app/pgml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ sudo python3 -m pip install xgboost lightgbm scikit-learn

After installing the `pgml` extension and python dependencies on all cluster nodes, you can enable `pgml` on the PostgreSQL cluster.

[Configure](https://pigsty.io/en/docs/pgsql/admin/#config-cluster) cluster with `patronictl` command and add `pgml` to `shared_preload_libraries`, and specify your `venv` dir in `pgml.venv`:
[Configure](https://pigsty.io/docs/pgsql/admin/#config-cluster) cluster with `patronictl` command and add `pgml` to `shared_preload_libraries`, and specify your `venv` dir in `pgml.venv`:

```yaml
shared_preload_libraries: pgml, timescaledb, pg_stat_statements, auto_explain
Expand Down
2 changes: 1 addition & 1 deletion bin/beta
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ log_info "$ curl -SL ${SOURCE_URL}"
curl -SL "${SOURCE_URL}" -o "${DOWNLOAD_TO}"
if [[ $? -ne 0 ]]; then
log_error "fail to download pigsty source from ${SOURCE}"
log_info "check https://pigsty.io/en/docs/install , or try with CDN/GITHUB"
log_info "check https://pigsty.io/docs/setup/install/ , or try with CDN/GITHUB"
log_hint '$ SOURCE=CDN bash -c "$(curl -fsSL https://get.pigsty.cc/beta);"'
log_hint '$ SOURCE=GITHUB bash -c "$(curl -fsSL https://get.pigsty.cc/beta);"'
exit 2
Expand Down
2 changes: 1 addition & 1 deletion bin/latest
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ log_info "$ curl -SL ${SOURCE_URL}"
curl -SL "${SOURCE_URL}" -o "${DOWNLOAD_TO}"
if [[ $? -ne 0 ]]; then
log_error "fail to download pigsty source from ${SOURCE}"
log_info "check https://pigsty.io/en/docs/install , or try with CDN/GITHUB"
log_info "check https://pigsty.io/docs/setup/install/ , or try with CDN/GITHUB"
log_hint '$ SOURCE=CDN bash -c "$(curl -fsSL https://get.pigsty.cc/latest);"'
log_hint '$ SOURCE=GITHUB bash -c "$(curl -fsSL https://get.pigsty.cc/latest);"'
exit 2
Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ curl -fsSL https://get.pigsty.cc/latest | bash
If you want to download a specific version, use the following URLs:

```bash
VERSION=v2.6.0 # version string, check https://pigsty.io/en/docs/releasenote
VERSION=v2.6.0 # version string, check https://pigsty.io/docs/releasenote
https://github.com/Vonng/pigsty/releases/download/${VERSION}/pigsty-${VERSION}.tgz
```

Expand Down
2 changes: 1 addition & 1 deletion docs/MONGO.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

PostgreSQL's JSON functionality is already well-rounded: binary storage JSONB, GIN arbitrary field indexing, various JSON processing functions, JSON PATH, and JSON Schema, it has long been a fully-featured, high-performance document database. However, providing alternative functionality and direct emulation are not the same. FerretDB can provide a smooth transition to PostgreSQL for applications driven by MongoDB drivers.

Pigsty provided a [Docker-Compose](https://github.com/Vonng/pigsty/tree/master/app) support for FerretDB in 1.x, and [native deployment](https://pigsty.io/en/docs/mongo) support since v2.3. As an optional feature, it greatly benefits the enrichment of the PostgreSQL ecosystem. The Pigsty community has already become a partner with the FerretDB community, and we shall find more opportunities to work together in the future.
Pigsty provided a [Docker-Compose](https://github.com/Vonng/pigsty/tree/master/app) support for FerretDB in 1.x, and [native deployment](https://pigsty.io/docs/mongo) support since v2.3. As an optional feature, it greatly benefits the enrichment of the PostgreSQL ecosystem. The Pigsty community has already become a partner with the FerretDB community, and we shall find more opportunities to work together in the future.



Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MD5: xxxxxxxxxxxx /tmp/pigsty-v2.6.0.tgz
[ OK ] $ tar -xf /tmp/pigsty-v2.6.0.tgz -C ~;
[Reference] ===========================================
Official Site: https://pigsty.cc
Get Started: https://pigsty.io/en/docs/install
Get Started: https://pigsty.io/docs/setup/install/
Documentation: https://doc.pigsty.cc
Github Repo: https://github.com/Vonng/pigsty
Public Demo: https://demo.pigsty.cc
Expand Down Expand Up @@ -460,7 +460,7 @@ PostgreSQL **16** is the primary supported version, with full extension support.

Docs: https://pigsty.io/

Website: https://pigsty.io/en/ | https://pigsty.io/zh/
Website: https://pigsty.io/ | https://pigsty.io/zh/

WeChat: Search `pigsty-cc` to join the WeChat group.

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
>
> —— **开箱即用、本地优先的 PostgreSQL 发行版,开源 RDS 替代**
>
> [网站](https://pigsty.io/zh/) | [仓库](https://github.com/Vonng/pigsty) | [演示](https://demo.pigsty.cc) | [博客](https://pigsty.io/zh/blog) | [论坛](https://github.com/Vonng/pigsty/discussions) | [GPTs](https://chat.openai.com/g/g-y0USNfoXJ-pigsty-consul) | [微信公众号](https://mp.weixin.qq.com/s/-E_-HZ7LvOze5lmzy3QbQA) | [Website](https://pigsty.io/en/)
> [网站](https://pigsty.io/zh/) | [仓库](https://github.com/Vonng/pigsty) | [演示](https://demo.pigsty.cc) | [博客](https://pigsty.io/zh/blog) | [论坛](https://github.com/Vonng/pigsty/discussions) | [GPTs](https://chat.openai.com/g/g-y0USNfoXJ-pigsty-consul) | [微信公众号](https://mp.weixin.qq.com/s/-E_-HZ7LvOze5lmzy3QbQA) | [Website](https://pigsty.io/)
>
> [快速上手](INSTALL) 最新版本的 Pigsty [v2.6.0](https://github.com/Vonng/pigsty/releases/tag/v2.6.0)`curl -fsSL https://get.pigsty.cc/latest`
Expand Down Expand Up @@ -67,7 +67,7 @@ MD5: xxxxxxxxxxxx /tmp/pigsty-v2.6.0.tgz
[ OK ] $ tar -xf /tmp/pigsty-v2.6.0.tgz -C ~;
[Reference] ===========================================
Official Site: https://pigsty.cc
Get Started: https://pigsty.io/en/docs/install
Get Started: https://pigsty.io/docs/setup/install/
Documentation: https://doc.pigsty.cc
Github Repo: https://github.com/Vonng/pigsty
Public Demo: https://demo.pigsty.cc
Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Configuration Template

This directory (`files/pigsty`) contains pigsty config templates, Which will be used during [`configure`](https://pigsty.io/en/docs/install) procedure.
This directory (`files/pigsty`) contains pigsty config templates, Which will be used during [`configure`](https://pigsty.io/docs/setup/install/#configure) procedure.

Config templates are named as `<mode>.yml`. `<mode>` can be designated using `./configure -m <mode>`

Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty building environment for all distros
# Ctime : 2022-10-12
# Mtime : 2024-02-18
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Check Pigsty Build Config
# Ctime : 2023-09-01
# Mtime : 2023-10-13
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/citus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : pigsty citus testing environment
# Ctime : 2020-05-22
# Mtime : 2023-03-31
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty building environment for ubuntu/debian
# Ctime : 2022-10-12
# Mtime : 2024-02-18
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
8 changes: 4 additions & 4 deletions files/pigsty/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty generated config for debian 11/12
# Ctime : 2020-05-22
# Mtime : 2024-02-20
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down Expand Up @@ -43,7 +43,7 @@ all:
vars:
pg_cluster: pg-meta

# define business databases here: https://pigsty.io/en/docs/pgsql/db/
# define business databases here: https://pigsty.io/docs/pgsql/db/
pg_databases: # define business databases on this cluster, array of database definition
- name: meta # REQUIRED, `name` is the only mandatory field of a database definition
baseline: cmdb.sql # optional, database sql baseline path, (relative path among ansible search path, e.g: files/)
Expand Down Expand Up @@ -72,7 +72,7 @@ all:
#pool_max_db_conn: 100 # optional, max database connections at database level, default 100
#- { name: grafana ,owner: dbuser_grafana ,revokeconn: true ,comment: grafana primary database } # define another database

# define business users here: https://pigsty.io/en/docs/pgsql/user/
# define business users here: https://pigsty.io/docs/pgsql/user/
pg_users: # define business users/roles on this cluster, array of user definition
- name: dbuser_meta # REQUIRED, `name` is the only mandatory field of a user definition
password: DBUser.Meta # optional, password, can be a scram-sha-256 hash string or plain text
Expand All @@ -94,7 +94,7 @@ all:
pool_connlimit: -1 # optional, max database connections at user level, default -1 disable limit
- {name: dbuser_view ,password: DBUser.Viewer ,pgbouncer: true ,roles: [dbrole_readonly], comment: read-only viewer for meta database}

# define HBA rules here: https://pigsty.io/en/docs/pgsql/hba/#define-hba
# define HBA rules here: https://pigsty.io/docs/pgsql/hba/#define-hba
pg_hba_rules: # example hba rules
- {user: dbuser_view , db: all ,addr: infra ,auth: pwd ,title: 'allow grafana dashboard access cmdb from infra nodes'}

Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty Local Sandbox 4-node Demo Config
# Ctime : 2020-05-22
# Mtime : 2024-02-19
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/dual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty deployment example for two nodes
# Ctime : 2020-05-22
# Mtime : 2023-03-31
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
10 changes: 5 additions & 5 deletions files/pigsty/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty auto generated config for el8, el9
# Ctime : 2020-05-22
# Mtime : 2024-02-22
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down Expand Up @@ -43,7 +43,7 @@ all:
vars:
pg_cluster: pg-meta

# define business databases here: https://pigsty.io/en/docs/pgsql/db/
# define business databases here: https://pigsty.io/docs/pgsql/db/
pg_databases: # define business databases on this cluster, array of database definition
- name: meta # REQUIRED, `name` is the only mandatory field of a database definition
baseline: cmdb.sql # optional, database sql baseline path, (relative path among ansible search path, e.g: files/)
Expand Down Expand Up @@ -72,7 +72,7 @@ all:
#pool_max_db_conn: 100 # optional, max database connections at database level, default 100
#- { name: grafana ,owner: dbuser_grafana ,revokeconn: true ,comment: grafana primary database } # define another database

# define business users here: https://pigsty.io/en/docs/pgsql/user/
# define business users here: https://pigsty.io/docs/pgsql/user/
pg_users: # define business users/roles on this cluster, array of user definition
- name: dbuser_meta # REQUIRED, `name` is the only mandatory field of a user definition
password: DBUser.Meta # optional, password, can be a scram-sha-256 hash string or plain text
Expand All @@ -94,7 +94,7 @@ all:
pool_connlimit: -1 # optional, max database connections at user level, default -1 disable limit
- {name: dbuser_view ,password: DBUser.Viewer ,pgbouncer: true ,roles: [dbrole_readonly], comment: read-only viewer for meta database}

# install extensions here: # define HBA rules here: https://pigsty.io/en/docs/pgsql/extension/#install-extension
# install extensions here: # define HBA rules here: https://pigsty.io/docs/pgsql/extension/#install-extension
pg_libs: 'timescaledb, pg_stat_statements, auto_explain' # add timescaledb to shared_preload_libraries
pg_extensions: # install extension on this cluster (citus & hydra are mutually exclusive! choose one between them!)
- postgis34_${pg_version}* timescaledb-2-postgresql-${pg_version}* pgvector_${pg_version}* # common extensions
Expand All @@ -108,7 +108,7 @@ all:
#- pg_background_${pg_version} e-maj_${pg_version} pg_prioritize_${pg_version} pgcryptokey_${pg_version} logerrors_${pg_version} pg_top_${pg_version} pg_comparator_${pg_version} pg_ivm_${pg_version}* pgsodium_${pg_version}* pgfincore_${pg_version}* ddlx_${pg_version} credcheck_${pg_version} safeupdate_${pg_version} pg_squeeze_${pg_version}* pg_fkpart_${pg_version} pg_jobmon_${pg_version}
#- pg_partman_${pg_version} pg_permissions_${pg_version} pgexportdoc_${pg_version} pgimportdoc_${pg_version} pg_statement_rollback_${pg_version}* pg_hint_plan_${pg_version}* pg_auth_mon_${pg_version} pg_checksums_${pg_version} pg_failover_slots_${pg_version} pg_readonly_${pg_version}* pg_uuidv7_${pg_version}* set_user_${pg_version}* rum_${pg_version}

# define HBA rules here: https://pigsty.io/en/docs/pgsql/hba/#define-hba
# define HBA rules here: https://pigsty.io/docs/pgsql/hba/#define-hba
pg_hba_rules: # example hba rules
- {user: dbuser_view , db: all ,addr: infra ,auth: pwd ,title: 'allow grafana dashboard access cmdb from infra nodes'}

Expand Down
10 changes: 5 additions & 5 deletions files/pigsty/el7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : Pigsty auto generated config for el7 singleton
# Ctime : 2020-05-22
# Mtime : 2024-02-22
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down Expand Up @@ -43,7 +43,7 @@ all:
vars:
pg_cluster: pg-meta

# define business databases here: https://pigsty.io/en/docs/pgsql/db/
# define business databases here: https://pigsty.io/docs/pgsql/db/
pg_databases: # define business databases on this cluster, array of database definition
- name: meta # REQUIRED, `name` is the only mandatory field of a database definition
baseline: cmdb.sql # optional, database sql baseline path, (relative path among ansible search path, e.g: files/)
Expand Down Expand Up @@ -72,7 +72,7 @@ all:
#pool_max_db_conn: 100 # optional, max database connections at database level, default 100
#- { name: grafana ,owner: dbuser_grafana ,revokeconn: true ,comment: grafana primary database } # define another database

# define business users here: https://pigsty.io/en/docs/pgsql/user/
# define business users here: https://pigsty.io/docs/pgsql/user/
pg_users: # define business users/roles on this cluster, array of user definition
- name: dbuser_meta # REQUIRED, `name` is the only mandatory field of a user definition
password: DBUser.Meta # optional, password, can be a scram-sha-256 hash string or plain text
Expand All @@ -94,7 +94,7 @@ all:
pool_connlimit: -1 # optional, max database connections at user level, default -1 disable limit
- {name: dbuser_view ,password: DBUser.Viewer ,pgbouncer: true ,roles: [dbrole_readonly], comment: read-only viewer for meta database}

# install extensions here: # define HBA rules here: https://pigsty.io/en/docs/pgsql/extension/#install-extension
# install extensions here: # define HBA rules here: https://pigsty.io/docs/pgsql/extension/#install-extension
pg_libs: 'timescaledb, pg_stat_statements, auto_explain' # add timescaledb to shared_preload_libraries
pg_extensions: # install extension on this cluster (citus & hydra are mutually exclusive! choose one between them!)
- postgis34_${pg_version}* timescaledb-2-postgresql-${pg_version}* pgvector_${pg_version}* hydra_${pg_version}* #citus_${pg_version}*
Expand All @@ -104,7 +104,7 @@ all:
#- pg_background_15 e-maj_15 pg_catcheck_15 pg_prioritize_15 pgcopydb_15 pgcryptokey_15 logerrors_15 pg_top_15 pg_comparator_15 pg_ivm_15* pgsodium_15* pgfincore_15* ddlx_15 credcheck_15 safeupdate_15 pg_squeeze_15* pg_fkpart_15 pg_jobmon_15 rum_15
#- pg_partman_15 pg_permissions_15 pgexportdoc_15 pgimportdoc_15 pg_statement_rollback_15* pg_auth_mon_15 pg_checksums_15 pg_failover_slots_15 pg_readonly_15* postgresql-unit_15* pg_store_plans_15* pg_uuidv7_15* set_user_15* pgaudit17_15

# define HBA rules here: https://pigsty.io/en/docs/pgsql/hba/#define-hba
# define HBA rules here: https://pigsty.io/docs/pgsql/hba/#define-hba
pg_hba_rules: # example hba rules
- {user: dbuser_view , db: all ,addr: infra ,auth: pwd ,title: 'allow grafana dashboard access cmdb from infra nodes'}

Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : pigsty demo config with full default values
# Ctime : 2020-05-22
# Mtime : 2024-02-19
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down
2 changes: 1 addition & 1 deletion files/pigsty/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Desc : pigsty config for 3 node x 2 disk minio clusters
# Ctime : 2023-01-07
# Mtime : 2023-03-31
# Docs : https://pigsty.io/en/docs/config
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
#==============================================================#
Expand Down

0 comments on commit 1464385

Please sign in to comment.