chore(fireshare): refactor config
This commit is contained in:
parent
3fa64f0394
commit
a7e75ca858
|
@ -15,25 +15,25 @@
|
||||||
"form_fields": [
|
"form_fields": [
|
||||||
{
|
{
|
||||||
"type": "random",
|
"type": "random",
|
||||||
"label": "SECRET_KEY",
|
"label": "FIRESHARE_SECRET_KEY",
|
||||||
"min": 32,
|
"min": 32,
|
||||||
"env_variable": "SECRET_KEY"
|
"env_variable": "FIRESHARE_SECRET_KEY"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "ADMIN_USERNAME",
|
"label": "Fireshare username",
|
||||||
"max": 50,
|
"max": 50,
|
||||||
"min": 3,
|
"min": 3,
|
||||||
"required": true,
|
"required": true,
|
||||||
"env_variable": "ADMIN_USERNAME"
|
"env_variable": "FIRESHARE_USERNAME"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "password",
|
"type": "password",
|
||||||
"label": "ADMIN_PASSWORD",
|
"label": "Fireshare password",
|
||||||
"max": 50,
|
"max": 50,
|
||||||
"min": 3,
|
"min": 8,
|
||||||
"required": true,
|
"required": true,
|
||||||
"env_variable": "ADMIN_PASSWORD"
|
"env_variable": "FIRESHARE_PASSWORD"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: "3"
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
fireshare:
|
fireshare:
|
||||||
|
@ -11,9 +11,9 @@ services:
|
||||||
- ${APP_DATA_DIR}/data/fireshare_processed:/processed
|
- ${APP_DATA_DIR}/data/fireshare_processed:/processed
|
||||||
- ${ROOT_FOLDER_HOST}/media/data/videos/fireshare_videos:/videos
|
- ${ROOT_FOLDER_HOST}/media/data/videos/fireshare_videos:/videos
|
||||||
environment:
|
environment:
|
||||||
- ADMIN_USERNAME=${ADMIN_USERNAME}
|
- ADMIN_USERNAME=${FIRESHARE_USERNAME}
|
||||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
- ADMIN_PASSWORD=${FIRESHARE_PASSWORD}
|
||||||
- SECRET_KEY=${SECRET_KEY}
|
- SECRET_KEY=${FIRESHARE_SECRET_KEY}
|
||||||
- MINUTES_BETWEEN_VIDEO_SCANS=5
|
- MINUTES_BETWEEN_VIDEO_SCANS=5
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
|
|
@ -1,18 +1,16 @@
|
||||||
[](https://github.com/ShaneIsrael/fireshare)
|
|
||||||
|
|
||||||
## Fireshare
|
## Fireshare
|
||||||
|
|
||||||
Table of Contents
|
Table of Contents
|
||||||
|
|
||||||
1. [About The Project](https://github.com/ShaneIsrael/fireshare#about-the-project)
|
1. [About The Project](https://github.com/ShaneIsrael/fireshare#about-the-project)
|
||||||
- [Built With](https://github.com/ShaneIsrael/fireshare#built-with)
|
- [Built With](https://github.com/ShaneIsrael/fireshare#built-with)
|
||||||
2. [Installation](https://github.com/ShaneIsrael/fireshare#installation)
|
2. [Installation](https://github.com/ShaneIsrael/fireshare#installation)
|
||||||
- [Configurable Settings](https://github.com/ShaneIsrael/fireshare#configurable-settings)
|
- [Configurable Settings](https://github.com/ShaneIsrael/fireshare#configurable-settings)
|
||||||
3. [Local Development](https://github.com/ShaneIsrael/fireshare#local-development)
|
3. [Local Development](https://github.com/ShaneIsrael/fireshare#local-development)
|
||||||
- [Setup](https://github.com/ShaneIsrael/fireshare#setup)
|
- [Setup](https://github.com/ShaneIsrael/fireshare#setup)
|
||||||
4. [Contributing](https://github.com/ShaneIsrael/fireshare#contributing)
|
4. [Contributing](https://github.com/ShaneIsrael/fireshare#contributing)
|
||||||
5. [FAQ / Troubleshooting](https://github.com/ShaneIsrael/fireshare#frequently-asked-questions)
|
5. [FAQ / Troubleshooting](https://github.com/ShaneIsrael/fireshare#frequently-asked-questions)
|
||||||
- [Playback Issues](https://github.com/ShaneIsrael/fireshare#playback-issues)
|
- [Playback Issues](https://github.com/ShaneIsrael/fireshare#playback-issues)
|
||||||
|
|
||||||
## About The Project
|
## About The Project
|
||||||
|
|
||||||
|
@ -82,9 +80,9 @@ Connect Fireshare to a central user directory and keep user access organised.
|
||||||
|
|
||||||
### Built With
|
### Built With
|
||||||
|
|
||||||
- [React](https://reactjs.org/)
|
- [React](https://reactjs.org/)
|
||||||
- [Python](https://www.python.org/)
|
- [Python](https://www.python.org/)
|
||||||
- [Material UI](https://mui.com/)
|
- [Material UI](https://mui.com/)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -96,7 +94,7 @@ Fireshare needs 3 volume mounts.
|
||||||
2. **/processed** - The directory used to hold metadata created by fireshare in relation to your videos (posters, metadata info)
|
2. **/processed** - The directory used to hold metadata created by fireshare in relation to your videos (posters, metadata info)
|
||||||
3. **/videos** - The directory fireshare will watch and scan for any videos.
|
3. **/videos** - The directory fireshare will watch and scan for any videos.
|
||||||
|
|
||||||
If you have all of your game clips stored in a folder **my\_game\_clips** then in your docker compose file (or docker run command) you will need to volume mount that folder to the **/videos** folder that fireshare watches.
|
If you have all of your game clips stored in a folder **my_game_clips** then in your docker compose file (or docker run command) you will need to volume mount that folder to the **/videos** folder that fireshare watches.
|
||||||
|
|
||||||
### Docker Compose
|
### Docker Compose
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user