Deploy your first application

Quickstart for OnePloy. Get a server, create a project, add a public Git repository and press Deploy to get a running app with a URL.

To deploy your first application, make sure your team has a server, create a project, add a Public Git Repository resource, pick a build pack and press Deploy. OnePloy clones the repository, builds a container image, starts it behind the proxy and gives it a URL.

Before you start

  • A OnePloy account. Sign up at app.oneploy.dev.
  • A server to deploy to. On the Free plan you connect one server of your own. Some paid plans include managed servers that OnePloy runs for you.
  • A public Git repository containing a web application, for example a Node.js, Python, PHP, Go or static site.

Step 1: Get a server

Skip this step if you can already see a server under Servers.

To connect a server you own:

  1. Open Servers and add a new server.
  2. Enter its IP address or hostname, SSH port and user.
  3. Choose SSH key authentication, or sign in once with a password so OnePloy can install its own key.
  4. Validate the server. OnePloy checks the connection and installs Docker if it is missing.

The full walkthrough is in Add a server. If your plan includes managed servers, you can request one instead. See Managed servers.

Step 2: Create a project

  1. Open Projects and create a project, for example my-first-app.
  2. Open the project. Every new project starts with a production environment.

Step 3: Add the application

  1. In the environment, choose Add resource.
  2. Select Public Git Repository.
  3. Paste the repository URL and choose the branch.
  4. Choose a build pack. Railpack or Nixpacks detect most languages automatically. Pick Dockerfile if the repository has one. See Build packs.
  5. Set the port your app listens on (the Ports exposes field), for example 3000.
  6. If you have more than one server, choose where the application should run.

Step 4: Deploy

Press Deploy. The deployment log streams live, showing the clone, build and start steps. When it finishes, the application status turns to running.

Step 5: Open your application

Open the Domains settings of the application. OnePloy generates a default URL for every new application, so you can test it straight away. It is either a OnePloy subdomain or an sslip.io hostname built from the server’s IP address.

To use your own domain, add it on the same page and point its DNS at the server. See Domains and SSL.

What next?

Last updated