Ruby stack containers¶
If Mailhog service enabled and chosen as Mail delivery service at
[Instance] > Stack > Settings all outbound email will be caught by the Mailhog. You can view and release these emails from Mailhog UI, the URL can be found from Domains tab. When release specify
SMTP server field if you want to release emails to the default Mail transfer agent (OpenSMTPD).
You can check the status of memcached and its hits by running the following command.
watch "echo stats | nc 127.0.0.1 11211"
Light-weight node.js container to help you build your application's frontend. The containers comes without any global pre-installed packages, you can add them by running
yarn global add PACKAGE or by running
yarn in a directory with your
- Nginx can be configured with the following environment variables
- Installed nginx modules
- For ruby we use virtual host preset http-proxy
Do not gzip pages in your Ruby application
We already gzip content on Nginx side and it works faster. Having double gzip may cause issues.
Restarting nginx as default user:
sudo nginx -s reload
Nginx comes with mod_pagespeed which is disabled by default. To enable it add
NGINX_PAGESPEED=on environment variable to Nginx service.
Rsyslog can be used to stream your applications logs. It's similar to using syslog, however there's no syslog in Ruby container (one process per container). Rsyslog will stream all incoming logs to a container output.
Ruby can be configured with the following environment variables. By default the container starts Puma HTTP server.
A duplicate of the main Ruby container runs with Sidekiq (instead of HTTP server).