Customer
Posts
-
[GitLab implementation] Disable Git button if using external repo
We use an external GitLab repository with our P.sh projects. So, none of the buttons (git, branch, merge or sync) except one (snapshot) is useful to us in the project dashboard. Once there's an ex...
-
How to develop locally on Platform.sh with a tethered connection
Goal Run a project on a local web server that connects to an application’s services with an SSH tunnel. Assumptions This guide uses the Platform.sh CLI to connect to a project’s services, and ass...
-
How to fail a build on failing unit tests
Goal Every time a push is made, run all unit tests. If tests fail, the build should fail and not be deployed. Assumptions During the build phase no services are available. That means only tests...
-
How to add or remove users from projects using the command line
Goal Add or remove a user to one or more Platform.sh projects using the platform CLI tool. Assumptions You have one or more Platform.sh projects and you have installed the platform CLI tool. You ...
-
How to rely on a PKI (Public Key Infrastructure) on Platform.sh
Goal Using public key infrastructure (PKI) on your Platform.sh project for authentication. Background PKI is used to: centralize the authentication process automatically provide new accounts for...
-
How to run a Rust web application on Platform.sh
Goal This guide shows how to deploy a simple Rust web app on Platform.sh. Assumptions To complete this, you will need: An empty Platform.sh project The Platform.sh CLI tool installed Your ssh ke...
-
How to create and restore snapshots using the CLI
Goal Restore a Platform.sh live environment from a created snapshot. Assumptions This guide requires: An application running on Platform.sh A local repository with the Platform.sh project as gi...
-
How to configure low-disk health notifications on Platform.sh
Goal Set up health notifications for low-disks on project containers. These will notify when free disk space drops below 20% and below 10%, and will issue an all-clear notification when the free d...
-
How to migrate database changes between environments
Goal Import changes to a database in a child environment to its parent using the Platform.sh CLI. Assumptions This guide assumes: an active application on Platform.sh configured to a database A ...
-
How to derive metrics from access log via ngxtop
Goal To derive various metrics from the Nginx access log via ngxtop. Assumptions To complete this, you will need: The Platform.sh CLI tool installed The Python pip tool installed Problems Some...