кстати, его можно потвикать и существенно снизить потребление памяти, если не нужно хендлить нагрузку
karser
вот что то такое
sidekiq['concurrency'] = 3
unicorn['worker_processes'] = 2
unicorn['worker_memory_limit_min'] = "200*(1024**2)"
unicorn['worker_memory_limit_max'] = "250*(1024**2)"
.
Всем привет
Как сделать так чтобы network юзал /etc/hosts хоста?
Здравствуйте )
Есть такая штука: http://devilbox.org/
Она основана на докер.
Уже неделю бьюсь, не могу подключиться к бд pgsql на локальной машине изнутри контейнера. Что может быть не так?
Нагуглил решение лучше
The host has a changing IP address (or none if you have no network access). From 18.03 onwards our recommendation is to connect to the special DNS name host.docker.internal, which resolves to the internal IP address used by the host.
The gateway is also reachable as gateway.docker.internal.
Вот:
Use the --net=host option. This network mode essentially means that the container has direct access to localhost and you can now access localhost:3306. Here's the command
docker run --net=host ... tuxgasy/dolibarr
Then connect to mariadb with localhost:3306