我尝试将sails代码部署到 docker (使用docker-compose),但我收到错误并使用docker中的redis配置
friend std::ifstream& operator>>(std::ifstream& if_obj, Stock_Type& stock_obj);
session: {
adapter: '@sailshq/connect-redis',
url: 'redis://:password@localhost:6379/1'
}
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