shinobi. Initial configuration added.
This commit is contained in:
parent
91b743ac5a
commit
1745274498
13
shinobi/.env.dist
Normal file
13
shinobi/.env.dist
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# see https://gitlab.com/Shinobi-Systems/Shinobi/-/tree/dev/Docker
|
||||||
|
|
||||||
|
WEB_PORT=8080
|
||||||
|
SHM_PATH=/dev/shm/shinobi/streams
|
||||||
|
|
||||||
|
CONFIG_DIR=./config
|
||||||
|
CUSTOM_AUTOLOAD_DIR=./custom_autoload
|
||||||
|
DB_DIR=./database
|
||||||
|
VIDEOS_DIR=./video
|
||||||
|
PLUGINS_DIR=./plugins
|
||||||
|
|
||||||
|
LOG_MAX_SIZE=5m
|
||||||
|
LOG_MAX_FILE=5
|
10
shinobi/.gitignore
vendored
Normal file
10
shinobi/.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
config/*
|
||||||
|
custom_autoload/*
|
||||||
|
database/*
|
||||||
|
plugins/*
|
||||||
|
video/*
|
||||||
|
!config/.gitkeep
|
||||||
|
!custom_autoload/.gitkeep
|
||||||
|
!database/.gitkeep
|
||||||
|
!plugins/.gitkeep
|
||||||
|
!video/.gitkeep
|
0
shinobi/custom_autoload/.gitkeep
Normal file
0
shinobi/custom_autoload/.gitkeep
Normal file
0
shinobi/database/.gitkeep
Normal file
0
shinobi/database/.gitkeep
Normal file
28
shinobi/docker-compose.yml
Normal file
28
shinobi/docker-compose.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
# https://hub.docker.com/r/shinobisystems/shinobi
|
||||||
|
# https://gitlab.com/Shinobi-Systems/Shinobi/-/tree/dev/Docker
|
||||||
|
shinobi:
|
||||||
|
image: shinobisystems/shinobi
|
||||||
|
container_name: shinobi
|
||||||
|
ports:
|
||||||
|
- "${WEB_PORT}:8080/tcp"
|
||||||
|
#- "443:443/tcp"
|
||||||
|
#- "21:21/tcp"
|
||||||
|
#- "25:25/tcp"
|
||||||
|
volumes:
|
||||||
|
- "${SHM_PATH}:/dev/shm/streams:rw"
|
||||||
|
- "${CONFIG_DIR}:/config:rw"
|
||||||
|
- "${CUSTOM_AUTOLOAD_DIR}:/home/Shinobi/libs/customAutoLoad:rw"
|
||||||
|
- "${DB_DIR}:/var/lib/mysql:rw"
|
||||||
|
- "${VIDEOS_DIR}:/home/Shinobi/videos:rw"
|
||||||
|
- "${PLUGINS_DIR}:/home/Shinobi/plugins:rw"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
env_file: .env
|
||||||
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||||
|
max-file: "${LOG_MAX_FILE:-5}"
|
0
shinobi/plugins/.gitkeep
Normal file
0
shinobi/plugins/.gitkeep
Normal file
0
shinobi/video/.gitkeep
Normal file
0
shinobi/video/.gitkeep
Normal file
Loading…
Reference in a new issue