[{"data":1,"prerenderedAt":90},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-en-postgresql-stack":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"marketplace-app-en-postgresql-stack",{"slug":9,"slugs":10,"categorySlugs":11,"name":16,"description":17,"phase":18,"unavailableReason":19,"docsUrl":20,"logo":21,"github":22,"tagline":23,"longDescription":24,"features":25,"useCases":32,"steps":42,"faq":55,"specs":68,"compatibleOs":75,"relatedApps":77,"relatedPosts":86,"category":87},"postgresql-stack",{"fr":9,"en":9,"ar":9,"es":9},{"fr":12,"en":13,"ar":14,"es":15},"bases-de-donnees","databases","قواعد-البيانات","bases-de-datos","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.",[26,27,28,29,30,31],"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",[33,36,39],{"title":34,"body":35},"Application database","A dedicated database for your Laravel, Django, NestJS or Rails application — separate from the application server.",{"title":37,"body":38},"Data warehouse","Store and analyze data with PostgreSQL's advanced analytical features.",{"title":40,"body":41},"Shared multi-project database","A single PostgreSQL VPS serving several applications, each with its own user and schema.",[43,46,49,52],{"title":44,"body":45},"Create the VPS","Select \"PostgreSQL Stack\". Minimum 2 GB RAM for PostgreSQL in production with pgAdmin.",{"title":47,"body":48},"Access pgAdmin","Point a subdomain at your VPS and open pgAdmin in your browser. Log in with the credentials created by the template.",{"title":50,"body":51},"Create your database","In pgAdmin, create a new database and a dedicated user with the minimum necessary permissions.",{"title":53,"body":54},"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`.",[56,59,62,65],{"q":57,"a":58},"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":60,"a":61},"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":63,"a":64},"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":66,"a":67},"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":69,"cpu":70,"stack":71,"port":74},"2 GB","1 vCPU",[72,73],"PostgreSQL 15","pgAdmin 4","5432",[76],"ubuntu-24.04",[78],{"name":79,"slug":80,"categorySlug":13,"categoryName":81,"categoryColor":82,"logo":83,"tagline":84,"description":85},"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":88,"slug":13,"name":81,"objective":89,"icon":88,"color":82},"database","Spin up a data platform quickly.",1793820418632]