Skip to content

New Environments

Dresktop supports the creation of both local (desktop) and cloud environments for your applications, allowing you to choose the setup that best fits your needs. Creating a desktop environment allows you to set up a local Drupal instance using Docker.

New Environments

  • Click in the application: Click in the application row in order to expand the view.
  • Click the "Add environment" button: Located within the expanded view.

New Environment Form

  • Environment Name: Enter a name for your new environment.
  • Production mode: Check the "Enable production mode" in case your application is ready for production.
  • Select Environment Type: Choose between the creation of a local desktop or connect to a cloud environment.

Desktop Environment

Desktop environments are created using Docker. Every environment is a set of several containers like database, servers and custom services.

  • Services:

    • Adminer: A lightweight database management tool integrated into your environment, making it easy to manage your database.
    • Mailpit: An email testing tool to capture and view emails sent by your Drupal application, useful for testing email functionality.

Create New or Import

  1. Application's Root Path: Select the new Drupal application path. It needs to be empty.
  2. Web Root Path: Directory for the web root folder.

Cloud Environment

Setting up a cloud environment involves connecting Dresktop to your remote server via SSH. This allows you to manage your live Drupal sites directly from the application. Ensure your remote server meets the necessary requirements and has SSH access enabled. Fill the following fields:

  1. URI: The URI of the remote server.
  2. Host: The hostname or IP address of the remote server.
  3. User: The SSH username for accessing the remote server.
  4. SSH key path: Path to the SSH private key file used for authentication.
  5. Application's Root Directory: The root directory of the Drupal application on the remote server.
  6. Webroot Directory: Directory for the web root folder on the remote server.
  7. Drush Directory: Directory where Drush is installed on the remote server.

Click "Create"

After filling in the necessary information, click "Create". Dresktop will set up the new environment, configuring the necessary files and settings.

Database Configuration

When creating a new Drupal environment with Dresktop, the following default database credentials are used:

  • Database Name: drupal
  • Username: drupal
  • Password: drupal
  • Host: database