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,5 +1,3 @@
|
||||||
[![Logo](https://github.com/ShaneIsrael/fireshare/raw/main/app/client/src/assets/logo.png)](https://github.com/ShaneIsrael/fireshare)
|
|
||||||
|
|
||||||
## Fireshare
|
## Fireshare
|
||||||
|
|
||||||
Table of Contents
|
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)
|
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