Set fqdn for each env.

This commit is contained in:
Martin Edenhofer 2015-12-31 09:51:06 +01:00
parent c238b145dd
commit be1cde6eff

View file

@ -7,6 +7,7 @@ export ZAMMAD_SETTING_TTL=15
rails r "Setting.set('developer_mode', true)"
rails r "Setting.set('websocket_port', '$WS_PORT')"
rails r "Setting.set('fqdn', '$IP:$BROWSER_PORT')"
pumactl start --pidfile tmp/pids/puma.pid -d -p $APP_PORT -e $RAILS_ENV
script/websocket-server.rb start -d -p $WS_PORT