FROM ubuntu:16.04
ENV PG_MAJOR 9.5
-ENV ALLOCATOR /usr/lib/libtcmalloc_minimal.so.4.3.0
+ENV RUBY_ALLOCATOR /usr/lib/libtcmalloc_minimal.so.4.3.0
MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
# postgres
cd $home
chown -R discourse:www-data /shared/log/rails
- LD_PRELOAD=$ALLOCATOR HOME=/home/discourse USER=discourse exec chpst -u discourse:www-data -U discourse:www-data bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb
+ LD_PRELOAD=$RUBY_ALLOCATOR HOME=/home/discourse USER=discourse exec chpst -u discourse:www-data -U discourse:www-data bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb
- file:
path: /etc/service/nginx/run