- Clean system-wide RAILS_ENV, RACK_ENV, NODE_ENV handling
- Automated ENV variable setup
- Prepared start scripts for sidekiq, clockwork, ...
- Pre-installed helper like
psql
,redis-cli
,wget
,ruby rest-client
- No sshd daemon (use
docker exec
) exclusivly - Syslog forwarding to Docker logs disabled by default
- Nginx forwarding with tail disabled by default
- Nginx log forwarding by symlinks to STDOUT and STDERR
Make sure your rails/rack/nodejs app logs to STDOUT e.g. with rails_stdout_logging
- Only
docker exec -it <container> /bin/bash
works corretly, because we can source the container_environment for bash. A command likedocker exec -it <container> printenv
shows, that all automaticly created environment variables likeREDIS_URL
do not exist.
Loads the default config/sidekiq.yml
config file. Use this file for any configuration.
DO NOT DEFINE ANY PID OR LOG FILES!
Specify an ENV CLOCKWORK_FILE
variable in your Dockerfile to load clockwork with the correct file.
This image is based on the baseimage and passenger images by Phusion. The code in this repository to build and maintain the images is heavly inspired and copied from the Phusion repositories.