title: Sails error, when I try to update session to redis
body: <p>I try to deploy sails code to <strong>docker</strong> (using docker-compose), BUT <strong>I got error</strong> with redis config in docker</p>
  
  <h3>config file</h3>
  
  <pre><code>session: {
      adapter: '@sailshq/connect-redis',
      url: 'redis://:password@localhost:6379/1'
  }
  </code></pre>
  
  <h3>docker-compose file <a href="https://pastebin.com/TVuWij5W" rel="nofollow noreferrer">pastebin</a></h3>
  
  <pre><code>version: '3'
  services: 
      cachedb:
      image: redis
      restart: always
  stag:
      build: .
      command: 'yarn start:stag' # NODE_ENV=staging node app.js
      ports:
          - '8000:1337'
      depends_on:
          - cachedb
  </code></pre>
  
  <h3>Error text <a href="https://pastebin.com/2xBM1nKK" rel="nofollow noreferrer">pastebin</a></h3>
  
  <pre><code>AbortError: Connection forcefully ended and command aborted. It might have been processed.
  at RedisClient.flush_and_error (/base/node_modules/machinepack-redis/node_modules/redis/index.js:350:23)
  at RedisClient.end (/base/node_modules/machinepack-redis/node_modules/redis/lib/extendedApi.js:51:14)
  at RedisClient.onPreConnectionEnd (/base/node_modules/machinepack-redis/machines/get-connection.js:157:14)
  at RedisClient.emit (events.js:180:13)
  at RedisClient.connection_gone (/base/node_modules/machinepack-redis/node_modules/redis/index.js:578:14)
  at RedisClient.on_error (/base/node_modules/machinepack-redis/node_modules/redis/index.js:398:10)
  at Socket.&lt;anonymous&gt; (/base/node_modules/machinepack-redis/node_modules/redis/index.js:272:14)
  at Socket.emit (events.js:180:13)
  at emitErrorNT (internal/streams/destroy.js:64:8)
  at process._tickCallback (internal/process/next_tick.js:178:19)
  </code></pre>
  
  <h2>Version</h2>
  
  <ul>
  <li>OS: macOS 10.13.4 17E199 x86_64 MacBookPro11,4</li>
  <li>Shell: zsh 5.3</li>
  <li>Terminal: iTerm2</li>
  <li>Node: v9.10.1</li>
  <li>Npm: 5.6.0</li>
  <li>Yarn: 1.5.1 (USE)</li>
  <li>Sails: 1.0.0</li>
  <li>Other: <a href="https://pastebin.com/0t9dBAXY" rel="nofollow noreferrer">pastebin</a></li>
  </ul>
  
  <h2>Ref</h2>
  
  <ol>
  <li>Full docker config: <a href="https://pastebin.com/TVuWij5W" rel="nofollow noreferrer">pastebin</a></li>
  <li>Error log: <a href="https://pastebin.com/2xBM1nKK" rel="nofollow noreferrer">pastebin</a></li>
  <li>Yarn.lock: <a href="https://pastebin.com/0t9dBAXY" rel="nofollow noreferrer">pastebin</a></li>
  </ol>