Latest Openresty with redis and some handy packages installed.
50K+
Docker Image with Openresty, redis and luarocks
FROM 3scale/openresty
## add your supervisor openresty config
ADD openresty.conf /etc/supervisor/conf.d/
# Add your app
ADD . /var/www
CMD ["supervisor"]
Depends on your application, but something like following should work:
[program:openresty]
command=/opt/openresty/nginx/sbin/nginx -p /var/www/ -c config/nginx.conf -g 'daemon off;'
autorestart=true
Supervisor expects the process not to daemonize. So make sure your nginx config has 'daemon off;'.
Cron is available and running by supervisor, so you can freely use logrotate and other cron goodies.
Content type
Image
Digest
sha256:08ee9358f…
Size
132.5 MB
Last updated
almost 11 years ago
docker pull 3scale/openresty