Commit cf178859 authored by Max Woolf's avatar Max Woolf

Apply suggestion to doc/topics/autodevops/index.md

parent 2812140b
Pipeline #85680202 failed with stage
in 48 seconds
......@@ -855,10 +855,10 @@ To achieve this, first disable the built-in PostgreSQL installation for the requ
![Auto Metrics](img/disable_postgres.png)
Next, define the database connection string however your buildpack or `Dockerfile` requires it. In many cases, this is `DATABASE_URL` defined as a connection string in the format:
Next define the `DATABASE_URL` CI variable as a scoped environment variable that will be available to your application. This should be a URL in the following format:
```yaml
postgres://user:password@postgres-host:postgres-port/postgres-database
postgres://user:password@postgres-host:postgres-port/postgres-database
```
You will need to ensure that your kubernetes cluster has network access to wherever PostgreSQL is hosted.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment