chore(fireshare): refactor config
This commit is contained in:
parent
3fa64f0394
commit
a7e75ca858
|
@ -15,25 +15,25 @@
|
|||
"form_fields": [
|
||||
{
|
||||
"type": "random",
|
||||
"label": "SECRET_KEY",
|
||||
"label": "FIRESHARE_SECRET_KEY",
|
||||
"min": 32,
|
||||
"env_variable": "SECRET_KEY"
|
||||
"env_variable": "FIRESHARE_SECRET_KEY"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "ADMIN_USERNAME",
|
||||
"label": "Fireshare username",
|
||||
"max": 50,
|
||||
"min": 3,
|
||||
"required": true,
|
||||
"env_variable": "ADMIN_USERNAME"
|
||||
"env_variable": "FIRESHARE_USERNAME"
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"label": "ADMIN_PASSWORD",
|
||||
"label": "Fireshare password",
|
||||
"max": 50,
|
||||
"min": 3,
|
||||
"min": 8,
|
||||
"required": true,
|
||||
"env_variable": "ADMIN_PASSWORD"
|
||||
"env_variable": "FIRESHARE_PASSWORD"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3"
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
fireshare:
|
||||
|
@ -11,9 +11,9 @@ services:
|
|||
- ${APP_DATA_DIR}/data/fireshare_processed:/processed
|
||||
- ${ROOT_FOLDER_HOST}/media/data/videos/fireshare_videos:/videos
|
||||
environment:
|
||||
- ADMIN_USERNAME=${ADMIN_USERNAME}
|
||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
- ADMIN_USERNAME=${FIRESHARE_USERNAME}
|
||||
- ADMIN_PASSWORD=${FIRESHARE_PASSWORD}
|
||||
- SECRET_KEY=${FIRESHARE_SECRET_KEY}
|
||||
- MINUTES_BETWEEN_VIDEO_SCANS=5
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
[![Logo](https://github.com/ShaneIsrael/fireshare/raw/main/app/client/src/assets/logo.png)](https://github.com/ShaneIsrael/fireshare)
|
||||
|
||||
## Fireshare
|
||||
|
||||
Table of Contents
|
||||
|
@ -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)
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user