Create docker-compose.yml
Browse files- docker-compose.yml +14 -0
docker-compose.yml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version: '3.8'
|
| 2 |
+
|
| 3 |
+
services:
|
| 4 |
+
your-node-app:
|
| 5 |
+
build: .
|
| 6 |
+
# Pass the sysctls at the container deployment level!
|
| 7 |
+
sysctls:
|
| 8 |
+
- net.core.rmem_max=134217728
|
| 9 |
+
- net.core.wmem_max=134217728
|
| 10 |
+
- net.ipv4.tcp_rmem=4096 87380 134217728
|
| 11 |
+
- net.ipv4.tcp_wmem=4096 65536 134217728
|
| 12 |
+
ports:
|
| 13 |
+
- "3001:3001"
|
| 14 |
+
# ... any other volumes or environment variables you need
|