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
3. Configure kernel parameters because they cannot be changed inside the container, specifically `fs.inotify.max_user_instances` and `fs.inotify.max_user_watches`. Run the following:
42
+
3. Configure environment variables in the `.env` file. These variables are used in the `docker-compose.yaml` file to pass repeated values.
43
+
44
+
4. Configure kernel parameters because they cannot be changed inside the container, specifically `fs.inotify.max_user_instances` and `fs.inotify.max_user_watches`. Run the following:
43
45
44
46
```shell
45
47
echo"fs.inotify.max_user_instances=65536"| sudo tee -a /etc/sysctl.d/99-inotify.conf
46
48
echo"fs.inotify.max_user_watches=65536"| sudo tee -a /etc/sysctl.d/99-inotify.conf
47
49
sudo sysctl --system
48
50
```
49
51
50
-
4. Configure container environment variables. Below is the list of variables used during deployment:
52
+
5. Configure container environment variables. Below is the list of variables used during deployment:
51
53
52
54
-`MAIL_DOMAIN` – The domain name of the future server. (required)
53
55
-`DEBUG_COMMANDS_ENABLED` – Run debug commands before installation. (default: `false`)
@@ -65,8 +67,6 @@ Mandatory variables for deployment via Docker:
65
67
66
68
-`CHANGE_KERNEL_SETTINGS` – Change kernel settings (`fs.inotify.max_user_instances` and `fs.inotify.max_user_watches`) on startup. Changing kernel settings inside the container is not possible! (default: `False`)
67
69
68
-
5. Configure environment variables in the `.env` file. These variables are used in the `docker-compose.yaml` file to pass repeated values.
3. Настроить параметры ядра, потому что внутри контейнера их нельзя изменить, а конкретно `fs.inotify.max_user_instances` и `fs.inotify.max_user_watches`. Для этого выполнить следующее:
38
+
3. Настроить переменные окружения в `.env` файле. Эти переменные используются в `docker-compose.yaml` файле, чтобы передавать повторяющиеся значения.
39
+
40
+
4. Настроить параметры ядра, потому что внутри контейнера их нельзя изменить, а конкретно `fs.inotify.max_user_instances` и `fs.inotify.max_user_watches`. Для этого выполнить следующее:
39
41
```shell
40
42
echo"fs.inotify.max_user_instances=65536"| sudo tee -a /etc/sysctl.d/99-inotify.conf
41
43
echo"fs.inotify.max_user_watches=65536"| sudo tee -a /etc/sysctl.d/99-inotify.conf
42
44
sudo sysctl --system
43
45
```
44
46
45
-
4. Настроить переменные окружения контейнера. Ниже перечислен список переменных учавствующих при развертывании.
47
+
5. Настроить переменные окружения контейнера. Ниже перечислен список переменных учавствующих при развертывании.
46
48
-`MAIL_DOMAIN` - Доменное имя будущего сервера. (required)
47
49
-`DEBUG_COMMANDS_ENABLED` - Выполнить debug команды перед установкой. (default: `false`)
48
50
-`FORCE_REINIT_INI_FILE` - Пересоздавать ini файл конфигурации при запуске. (default: `false`)
@@ -58,8 +60,6 @@ sudo sysctl --system
58
60
Ниже перечислены переменные, которые обязательны быть выставлены при развертывании через docker:
59
61
-`CHANGE_KERNEL_SETTINGS` - Менять настройки ядра (`fs.inotify.max_user_instances` и `fs.inotify.max_user_watches`) при запуске. При запуске в контейнере смена настроек ядра не может быть выполнена! (default: `False`)
60
62
61
-
5. Настроить переменные окружения в `.env` файле. Эти переменные используются в `docker-compose.yaml` файле, чтобы передавать повторяющиеся значения.
0 commit comments