📋 Added Redis environment variable to docker-compose config
This commit is contained in:
@@ -146,6 +146,13 @@ services:
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
redis:
|
||||
image: 'bitnami/redis:latest'
|
||||
container_name: queue
|
||||
networks:
|
||||
- proxy
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
traefik:
|
||||
image: traefik:2.3.4
|
||||
|
||||
@@ -2,6 +2,7 @@ LOGGER=true
|
||||
LOGLEVEL=info
|
||||
SERVICEDIR=dist/services
|
||||
MONGO_URI=mongodb://db:27017/threetwo
|
||||
REDIS_URI=redis://redis:6379
|
||||
TRANSPORTER=nats://nats:4222
|
||||
CALIBRE_EBOOK_META_PATH=/opt/calibre/ebook-meta
|
||||
CACHER=Memory
|
||||
|
||||
@@ -31,7 +31,6 @@ interface IProps {
|
||||
export const Import = (props: IProps): ReactElement => {
|
||||
const dispatch = useDispatch();
|
||||
const isSocketConnected = useSelector((state: RootState) => {
|
||||
console.log(state);
|
||||
return state.fileOps.isSocketConnected;
|
||||
});
|
||||
const importResults = useSelector(
|
||||
|
||||
Reference in New Issue
Block a user