Update docker-compose.yml
Browse files- docker-compose.yml +7 -2
docker-compose.yml
CHANGED
|
@@ -3,7 +3,11 @@ version: '3.8'
|
|
| 3 |
services:
|
| 4 |
your-node-app:
|
| 5 |
build: .
|
| 6 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
sysctls:
|
| 8 |
- net.core.rmem_max=134217728
|
| 9 |
- net.core.wmem_max=134217728
|
|
@@ -11,4 +15,5 @@ services:
|
|
| 11 |
- net.ipv4.tcp_wmem=4096 65536 134217728
|
| 12 |
ports:
|
| 13 |
- "3001:3001"
|
| 14 |
-
|
|
|
|
|
|
| 3 |
services:
|
| 4 |
your-node-app:
|
| 5 |
build: .
|
| 6 |
+
# Set your custom DNS servers natively
|
| 7 |
+
dns:
|
| 8 |
+
- 1.1.1.1
|
| 9 |
+
- 8.8.8.8
|
| 10 |
+
# Apply your system tuning natively
|
| 11 |
sysctls:
|
| 12 |
- net.core.rmem_max=134217728
|
| 13 |
- net.core.wmem_max=134217728
|
|
|
|
| 15 |
- net.ipv4.tcp_wmem=4096 65536 134217728
|
| 16 |
ports:
|
| 17 |
- "3001:3001"
|
| 18 |
+
environment:
|
| 19 |
+
- REPO=https://github.com/Twan07/BEupload.git
|