Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido Iaquinti committed Oct 13, 2021
1 parent 153fcec commit c2a8495
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 21 deletions.
12 changes: 6 additions & 6 deletions contents/docs/self-host/deploy/digital-ocean.mdx
Expand Up @@ -8,8 +8,8 @@ tags:
- digitalocean
---

import DOUrlSnippet from './snippets/do-url'
import DOIPAddressSnippet from './snippets/do-ip-address'
import GetUrlSnippet from './snippets/get-url'
import GetIPAddressSnippet from './snippets/get-ip-address'
import PostInstallSnippet from './snippets/post-install'
import ClusterRequirementsSnippet from './snippets/cluster-requirements'
import InstallingSnippet from './snippets/installing'
Expand Down Expand Up @@ -47,7 +47,7 @@ It's unfortunately [not yet possible to provide parameters to DigitalOcean](http
#### 1. Lookup the IP address of the installation

<DOIPAddressSnippet />
<GetIPAddressSnippet />

#### 2. Set up DNS

Expand Down Expand Up @@ -77,7 +77,7 @@ helm upgrade -f values.yaml --timeout 20m --namespace posthog posthog posthog/po

### Accessing PostHog

<DOUrlSnippet />
<GetUrlSnippet />

<PostInstallSnippet />

Expand Down Expand Up @@ -109,15 +109,15 @@ kafka:

#### 3. Lookup the IP address of our installation

<DOIPAddressSnippet />
<GetIPAddressSnippet />

#### 4. Set up DNS

Create an `A` record from your desired hostname to the external IP we got above.

### Accessing PostHog

<DOUrlSnippet />
<GetUrlSnippet />

<PostInstallSnippet />

Expand Down
6 changes: 0 additions & 6 deletions contents/docs/self-host/deploy/snippets/do-ip-address.mdx

This file was deleted.

6 changes: 0 additions & 6 deletions contents/docs/self-host/deploy/snippets/do-url.mdx

This file was deleted.

6 changes: 3 additions & 3 deletions contents/docs/self-host/deploy/snippets/tryunsecure.mdx
@@ -1,4 +1,4 @@
import DOIPAddressSnippet from './do-ip-address'
import GetURLSnippet from './get-url'

As a troubleshooting tool, you can allow HTTP access by setting these values in your `values.yaml`, but we recommend always accessing PostHog via HTTPs.
```yaml
Expand All @@ -11,6 +11,6 @@ web:
secureCookies: false
```

After upgrading you can run the following to get the IP to access PostHog:
After upgrading you can run the following command to get the URL to access PostHog:

<DOIPAddressSnippet />
<GetURLSnippet />

0 comments on commit c2a8495

Please sign in to comment.