You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/components/schemas.yaml
+33-1Lines changed: 33 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2080,7 +2080,39 @@ Startup-config:
2080
2080
type: string
2081
2081
default: 10s
2082
2082
server:
2083
-
description: Couchbase Server connection string/URL.
2083
+
description: |
2084
+
Couchbase Server connection string/URL for bootstrap configuration.
2085
+
The connection string should only reference Couchbase Server Data (KV) nodes.
2086
+
Using other node types (Query, Index, Analytics, or Search nodes) is not supported.
2087
+
**Connection String Format**
2088
+
Sync Gateway supports the ability to resolve DNS SRV records for alternate hostnames, or specifying multiple hostnames explicitly. See the [Couchbase Go SDK documentation on DNS SRV records](https://docs.couchbase.com/go-sdk/current/howtos/managing-connections.html#using-dns-srv-records) for more details.
2089
+
Sync Gateway supports both the couchbases:// for TLS and couchbase:// schemes for insecure connection.
2090
+
The supported schemes match that of the Couchbase Server SDKs.
On startup, Sync Gateway will try all hostnames until it is able
2101
+
to connect successfully.
2102
+
**Port Information**
2103
+
When using the couchbase:// or couchbases:// schemes, the port is not required as Sync Gateway will use the default Couchbase Server client-to-node ports (11210 for couchbase:// and 11207 for couchbases://). See the [Couchbase Server ports documentation](https://docs.couchbase.com/server/current/install/install-ports.html#ports-listed-by-communication-path) for more details.
2104
+
**Alternate Addresses**
2105
+
If your Couchbase Server cluster is running in a containerized, port mapped, or otherwise NATd environment like Docker or Kubernetes, Sync Gateway might need more information to connect to the cluster. In many cases the client is able to automatically select the correct set of addresses.
2106
+
If the detection heuristic fails in your environment, it is possible to override this behavior by adding a network parameter to the connection string.
2107
+
The network parameter can be:
2108
+
- `external`: Force the use alternate addresses of Couchbase Server. Used when Sync Gateway should not share network used by Couchbase Server internally.
2109
+
- `default`: Do not allow use of alternate addresses of Couchbase Server. Used when Sync Gateway and Couchbase Server are on the same network.
0 commit comments