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:
- Open Servers and add a new server.
- Enter its IP address or hostname, SSH port and user.
- Choose SSH key authentication, or sign in once with a password so OnePloy can install its own key.
- 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
- Open Projects and create a project, for example
my-first-app. - Open the project. Every new project starts with a
productionenvironment.
Step 3: Add the application
- In the environment, choose Add resource.
- Select Public Git Repository.
- Paste the repository URL and choose the branch.
- Choose a build pack. Railpack or Nixpacks detect most languages automatically. Pick Dockerfile if the repository has one. See Build packs.
- Set the port your app listens on (the Ports exposes field), for example
3000. - 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?
- Add secrets and configuration with environment variables.
- Deploy automatically on every push with a Git source or webhooks.
- Add a database and connect your app to it.
- If something does not work, see Troubleshooting.