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: content/en/docs/deployment/docker-deploy/docker-pad.md
+51-46Lines changed: 51 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ These endpoints are especially useful when integrating with orchestration platfo
241
241
This section serves as a reference guide and starting point for configuring a reverse proxy on Docker. The configurations provided are intended for illustrative purposes only, as the required settings vary depending on your specific network environment and infrastructure setup.
242
242
243
243
{{% alert color="info" %}}
244
-
This example implementation is provided "as-is" and is not covered under official support. Support requests related to this specific configuration cannot be addressed.
244
+
This example implementation is provided as-is, and is not covered under official support. Support requests related to this specific configuration cannot be addressed.
245
245
{{% /alert %}}
246
246
247
247
### Configuring Nginx
@@ -250,7 +250,7 @@ To configure Nginx, perform the following steps:
250
250
251
251
1. Define services for the app and Nginx reverse proxy:
252
252
253
-
```
253
+
```text
254
254
services:
255
255
app:
256
256
build: .
@@ -271,7 +271,7 @@ To configure Nginx, perform the following steps:
271
271
2. Run the following command: `docker-compose up --build`.
272
272
3. Create the following `nginx.conf` file to proxy requests to the app:
273
273
274
-
```
274
+
```text
275
275
events {}
276
276
http {
277
277
server {
@@ -297,7 +297,7 @@ Traefik uses two networks: *frontend* (public) and *backend* (internal).
297
297
298
298
1. Add Traefik labels to the app service:
299
299
300
-
```
300
+
```text
301
301
services:
302
302
traefik:
303
303
image: traefik:v3.0
@@ -355,52 +355,57 @@ This section explains how Traefik proxies differ from Nginx.
355
355
* A dashboard available at `http://localhost:8080` shows the routes.
356
356
* You can easily scale by duplicating the `app service` with unique router rules (for example, `Host(app2.local)`).
357
357
358
-
## High Availability (sample)
358
+
## Example High Availability Implementation
359
359
360
-
High availability requires redundancy, health checks, and restarts to handle failures. Scale for HA with Docker Compose (for local/dev) or Kubernetes:
361
-
Again, this section serves as a reference guide and starting point for configuring high availability on Docker. The configurations provided are intended for illustrative purposes only, as the appropriate settings will vary depending on your specific network environment and infrastructure setup.
362
-
Please note that this example implementation is provided "as-is" and is not covered under official support. Support requests related to this specific configuration cannot be addressed.
360
+
High availability (HA) requires redundancy, health checks, and restarts to handle failures. Scale for HA with Docker Compose (for local or development environments) or Kubernetes.
363
361
364
-
**docker-compose.yml:**
362
+
This section serves as a reference guide and starting point for configuring high availability on Docker. The configurations provided are intended for illustrative purposes only, as the settings will vary depending on your specific network environment and infrastructure setup.
This example implementation is provided as-is, and is not covered under official support. Support requests related to this specific configuration cannot be addressed.
366
+
{{% /alert %}}
380
367
381
-
Start with 'docker-compose up --scale myapp=3'.
368
+
1. Configure the *docker-compose.yml* as in the following example:
382
369
383
-
Add a load balancer like Traefik or NGINX reverse proxy in front:
0 commit comments