mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-29 20:29:45 +01:00
Update DOCKER.md
fix typo
This commit is contained in:
parent
5741538c10
commit
5ccc4bd08e
@ -25,7 +25,7 @@ To get started, install `docker`:
|
|||||||
curl -fsSL https://get.docker.com | sudo sh
|
curl -fsSL https://get.docker.com | sudo sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Then increase the `max_map_count` sysctl configuration to avoid "Fiber stack allocate failed" and "Fiber stack protect failed" errors, since the PHP engine mmaps two memory regions per fiber.
|
Then increase the `max_map_count` sysctl configuration to avoid "Fiber stack allocate failed" and "Fiber stack protect failed" errors, since the PHP engine maps two memory regions per fiber.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo 262144 | sudo tee /proc/sys/vm/max_map_count
|
echo 262144 | sudo tee /proc/sys/vm/max_map_count
|
||||||
@ -227,4 +227,4 @@ services:
|
|||||||
command: php /app/bot.php
|
command: php /app/bot.php
|
||||||
```
|
```
|
||||||
|
|
||||||
<a href="https://docs.madelineproto.xyz/docs/METRICS.html">Next section</a>
|
<a href="https://docs.madelineproto.xyz/docs/METRICS.html">Next section</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user