[{"data":1,"prerenderedAt":87},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-en-postgresql-stack":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"slug":7,"slugs":8,"categorySlugs":9,"name":13,"description":14,"phase":15,"unavailableReason":16,"docsUrl":17,"logo":18,"github":19,"tagline":20,"longDescription":21,"features":22,"useCases":29,"steps":39,"faq":52,"specs":65,"compatibleOs":72,"relatedApps":74,"relatedPosts":83,"category":84},"postgresql-stack",{"fr":7,"en":7,"ar":7},{"fr":10,"en":11,"ar":12},"bases-de-donnees","databases","قواعد-البيانات","PostgreSQL Stack","Open-source relational database with pgAdmin preconfigured. Powerful, extensible, production-ready.",1,null,"https:\u002F\u002Fservorbit.com\u002Fblog\u002Fpostgresql-on-a-vps-a-reliable-and-controlled-database","https:\u002F\u002Fcdn.simpleicons.org\u002Fpostgresql","https:\u002F\u002Fgithub.com\u002Fpostgres\u002Fpostgres","PostgreSQL 15 + pgAdmin — a powerful, extensible relational database from the very first boot.","The PostgreSQL Stack template sets up a production-ready PostgreSQL 15 instance on your VPS with pgAdmin as the web administration interface. PostgreSQL is the most advanced open-source database: native JSON\u002FJSONB support, advanced indexing, geospatial extensions (PostGIS), replication and exceptional performance on complex queries.\n\nIdeal as a dedicated database for your applications (Laravel, Django, Node.js, Rails) or as a service shared across several projects. The template configures the performance parameters recommended by PGTune based on your VPS resources.",[23,24,25,26,27,28],"PostgreSQL 15 with automatically optimized parameters","pgAdmin 4 web interface to visualize your data","Dedicated application user (no superuser connection)","Scheduled automatic backup with pg_dump","Common extensions installed: uuid-ossp, pg_stat_statements","Secure SSL connections",[30,33,36],{"title":31,"body":32},"Application database","A dedicated database for your Laravel, Django, NestJS or Rails application — separate from the application server.",{"title":34,"body":35},"Data warehouse","Store and analyze data with PostgreSQL's advanced analytical features.",{"title":37,"body":38},"Shared multi-project database","A single PostgreSQL VPS serving several applications, each with its own user and schema.",[40,43,46,49],{"title":41,"body":42},"Create the VPS","Select \"PostgreSQL Stack\". Minimum 2 GB RAM for PostgreSQL in production with pgAdmin.",{"title":44,"body":45},"Access pgAdmin","Point a subdomain at your VPS and open pgAdmin in your browser. Log in with the credentials created by the template.",{"title":47,"body":48},"Create your database","In pgAdmin, create a new database and a dedicated user with the minimum necessary permissions.",{"title":50,"body":51},"Connect your application","Use the credentials in your application's `DATABASE_URL`. Allow the connection from your application server's IP in `pg_hba.conf`.",[53,56,59,62],{"q":54,"a":55},"PostgreSQL vs MySQL\u002FMariaDB: which to choose?","PostgreSQL is more powerful for complex data (JSON, geospatial, analytical queries). MySQL\u002FMariaDB is more widespread for classic web applications (WordPress, PrestaShop). Both are excellent.",{"q":57,"a":58},"Can PostgreSQL be connected from another VPS?","Yes. Allow the application server's IP in `pg_hba.conf` and expose port 5432 only to that IP. Never expose PostgreSQL publicly without a firewall.",{"q":60,"a":61},"Is PostgreSQL compatible with Laravel?","Yes. Laravel supports PostgreSQL natively — set `DB_CONNECTION=pgsql` in your `.env`. All Eloquent migrations and queries work identically.",{"q":63,"a":64},"How do I back up PostgreSQL automatically?","The template sets up `pg_dump` as a daily cron job. The dumps are compressed and stored locally. Configure a transfer to remote storage (S3, another VPS) for extra safety.",{"ram":66,"cpu":67,"stack":68,"port":71},"2 GB","1 vCPU",[69,70],"PostgreSQL 15","pgAdmin 4","5432",[73],"ubuntu-24.04",[75],{"name":76,"slug":77,"categorySlug":11,"categoryName":78,"categoryColor":79,"logo":80,"tagline":81,"description":82},"MariaDB Stack","mariadb-stack","Databases","text-blue-400 bg-blue-500\u002F10","https:\u002F\u002Fcdn.simpleicons.org\u002Fmariadb","MariaDB + phpMyAdmin — a high-performance MySQL alternative, ideal for web applications.","High-performance, compatible MySQL alternative with phpMyAdmin included. Ideal for web applications and classic CMSs.",[],{"key":85,"slug":11,"name":78,"objective":86,"icon":85,"color":79},"database","Spin up a data platform quickly.",1787581038615]