This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
jellyfin: | |
image: lscr.io/linuxserver/jellyfin:latest | |
container_name: jellyfin | |
environment: | |
- PUID=1001 | |
- PGID=100 | |
- TZ=Europe/Warsaw | |
volumes: | |
- /srv/dev-disk-by-uuid-fb0ba068-25f2-4249-9338-abae9a266bf1/Docker/appdata/jellyfin/config:/config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "3.7" | |
services: | |
transmission: | |
image: lscr.io/linuxserver/transmission:latest | |
container_name: transmission | |
environment: | |
- PGID=${PGID} | |
- PUID=${PUID} | |
- TZ=${TIME_ZONE} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the project run `npm i redux react-redux redux-thunk --save` | |
// 1. Create redux folder with reducer, action types and action creators | |
// reducer.ts | |
import { COMMENT_ACTION_TYPES, CommentAction } from "~Redux/actionTypes"; | |
import { IComment } from "~Interfaces"; | |
import { getComments, saveComments } from "~Utils/localStorage"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Create context file (contexts) | |
import React from 'react'; | |
export const UserContext = React.createContext<{ | |
name: string; | |
surname: string; | |
}>({ | |
name: '', | |
surname: '', |