Skip to content

Commit

Permalink
Update troubleshooting.md
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn authored Aug 28, 2023
1 parent 18c4204 commit 238e19b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ You can customize any constant defined in [CaptainConstants](https://github.com/

After editing this file, [restart CapRover](https://caprover.com/docs/troubleshooting.html#how-to-restart-caprover) (if the change affects CapRover, nginx or certbot) or turn NetData off and on again from the UI.

## Use existing swarm

When you first install CapRover, it tries to automatically set up a swarm cluster for you. But in rare cases, you may already have a swarm cluster, and you want to use that cluster. In this case, you can simply just override it by setting `useExistingSwarm` to true. Run the following script before attempting to install CapRover.
```
mkdir -p /captain/data
echo "{\"useExistingSwarm\":\"true\"}" > /captain/data/config-override.json
```

## AWS setup

AWS has its own customization with regards to port handling and etc. It make require some custom setup, see [this blog post for example](https://fuzzyblog.io/blog/caprover/2019/11/10/using-caprover-on-aws.html).
Expand Down

0 comments on commit 238e19b

Please sign in to comment.