Update docker-entrypoint.sh

This commit is contained in:
André Bauer 2017-05-12 11:21:54 +02:00 committed by GitHub
parent d7fbb2a9da
commit 9cedf45c3c

View File

@ -31,7 +31,7 @@ if [ "$1" = 'zammad-railsserver' ]; then
if [ "${RAILS_SERVER}" == "puma" ]; then if [ "${RAILS_SERVER}" == "puma" ]; then
bundle exec puma -b tcp://0.0.0.0:3000 -e ${RAILS_ENV} bundle exec puma -b tcp://0.0.0.0:3000 -e ${RAILS_ENV}
elif [ "${RAILS_SERVER}" == "unicorn" ]; then elif [ "${RAILS_SERVER}" == "unicorn" ]; then
bundle exec unicorn -p 3000 -c config/unicorn.rb -E ${RAILS_ENV} bundle exec unicorn -p 3000 -c config/unicorn.rb -E ${RAILS_ENV}
fi fi