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