---#==============================================================## File : wool.yml# Pigsty configuration for a budget Aliyun ECS instance# Ctime : 2020-11-09# Mtime : 2025-12-12# Docs : https://pigsty.io/docs/conf# License : Apache-2.0 @ https://pigsty.io/docs/about/license/# Copyright : 2018-2026 Ruohang Feng / Vonng ([email protected])#==============================================================#all:children:# Recommended OS: RockyLinux 9.4# Replace 10.10.10.10 with the ECS private IP for Infra/Etcdinfra:{hosts:{10.10.10.10:{infra_seq:1}}}etcd:{hosts:{10.10.10.10:{etcd_seq:1 } }, vars:{etcd_cluster:etcd } }# Define a single-node PostgreSQL instancepg-meta:hosts:{10.10.10.10:{pg_seq:1, pg_role:primary } }vars:pg_cluster:pg-metapg_databases:- {name:meta ,baseline:cmdb.sql ,schemas:[pigsty ] }pg_users:# Change both example user passwords- {name:dbuser_meta ,password:DBUser.Meta ,roles:[dbrole_admin ] }- {name:dbuser_view ,password:DBUser.Viewer ,roles:[dbrole_readonly ] }pg_conf:tiny.yml # Use the tiny database profile for a 2-core/2-GiB hostnode_tune:tiny # Use tiny node tuning for a 2-core/2-GiB hostpgbackrest_enabled:false# Disable physical backups on this small diskpg_version:18# Use PostgreSQL 18vars:version:v4.6.0 # pigsty version stringregion:chinaadmin_ip:10.10.10.10# Use the ECS private IP hereinfra_portal:# Replace the pigsty domain suffix with your own domain if availablehome :{domain:i.pigsty } # default domain nameminio:{domain:m.pigsty ,endpoint:"${admin_ip}:9001",scheme:https ,websocket:true}postgrest:{domain:api.pigsty ,endpoint:"127.0.0.1:8884"}pgadmin:{domain:adm.pigsty ,endpoint:"127.0.0.1:8885"}pgweb:{domain:cli.pigsty ,endpoint:"127.0.0.1:8886"}bytebase:{domain:ddl.pigsty ,endpoint:"127.0.0.1:8887",websocket:true}jupyter:{domain:lab.pigsty ,endpoint:"127.0.0.1:8888", websocket:true}gitea:{domain:git.pigsty ,endpoint:"127.0.0.1:8889"}wiki:{domain:wiki.pigsty ,endpoint:"127.0.0.1:9002"}noco:{domain:noco.pigsty ,endpoint:"127.0.0.1:9003"}supa:{domain:supa.pigsty ,endpoint:"10.10.10.10:8000", websocket:true}# Change all example passwords before exposing this host#----------------------------------------------## PASSWORD : https://pigsty.io/docs/setup/security/#----------------------------------------------#grafana_admin_password:pigstygrafana_view_password:DBUser.Viewerpg_admin_password:DBUser.DBApg_monitor_password:DBUser.Monitorpg_replication_password:DBUser.Replicatorpatroni_password:Patroni.APIhaproxy_admin_password:pigstyminio_secret_key:S3User.MinIOetcd_root_password:Etcd.Root...
Explanation
Explicitly sets pg_conf: tiny.yml and node_tune: tiny on pg-meta
Expects 10.10.10.10 to be replaced by the cloud instance’s private IP
Disables pgBackRest by default to reduce disk usage on a small test host
Includes several example portal domains
This template reduces resource use by disabling backups. It is suitable only for temporary testing.
For production deployments, you must enable and verify backups. Tighten the network rules, replace default passwords, and remove unused portal entries.