Skip to content

appsforskywalker/vagrant_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Server Configuration Details

Welcome to the Server Configuration Details documentation! This document outlines the system and software setup for your environment, optimized for modern PHP and Node.js development. This setup ensures a robust and efficient experience for developers.


System Information

  • Operating System: Debian 12
  • NGINX Version: 1.26.2
  • PostgreSQL Version: 17.x (default: postgres)
  • Redis Version: 7.4.x (default)
  • MongoDB Version: 8.0.4 (default)

Software & Tools

NGINX

  • Version: 1.26.2
  • Description:
    • NGINX is a high-performance HTTP server and reverse proxy.
    • Widely used for serving static content and load balancing.

PostgreSQL

  • Version: 17.x (default: postgres)
  • Description:
    • PostgreSQL is a powerful, open-source object-relational database system.

MongoDB

  • Version: 8.0.4 (default)
  • Description:
    • MongoDB is a scalable, flexible NoSQL database designed for modern application development.

NVM (Node Version Manager)

  • Support: Fully supported for managing multiple Node.js versions.
  • Description:
    • NVM allows you to install and switch between different versions of Node.js seamlessly.

PHP

  • Version: PHP 8.3 supported
  • Description:
    • PHP 8.3 introduces significant performance improvements and new features for the PHP ecosystem.

Composer

  • Support: Fully supported for managing PHP dependencies.
  • Description:
    • Composer is a dependency manager for PHP, enabling developers to efficiently manage libraries and dependencies.

Conclusion

This environment is tailored for modern development needs, combining:

  • The power of PHP 8.3 and Node.js for application development.
  • The stability and reliability of PostgreSQL and MongoDB databases.
  • Efficient package management with Composer and NVM.

With these tools and configurations, you are set up for a seamless development experience that ensures compatibility with the latest technologies.


Vagrant Usage

To quickly set up the environment, use the following Vagrantfile:

# Vagrantfile
Vagrant.configure("2") do |config|
  config.vm.box = "appsforskywalker/base"

  # Set up forwarded ports
  config.vm.network "forwarded_port", guest: 80, host: 8080
  config.vm.network "forwarded_port", guest: 5432, host: 5432

  # Provision with a shell script if needed
  config.vm.provision "shell", inline: <<-SHELL
    echo "Provisioning server..."
    sudo apt-get update
  SHELL
end

Links & Resources

For more details, visit HashiCorp Vagrant Portal.


Happy Coding! 🎉