Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-utkin committed Nov 23, 2023
1 parent a780173 commit 946271a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ The most convenient way to install the Bluecherry docker image is to use this sc

The included Dockerfile generates an image based on an **Ubuntu 20.04** docker image. The latest tagged version of the **Bluecherry Server v3.x.x** from the [bluecherry-apps](https://github.com/bluecherrydvr/bluecherry-apps) source repository. The included docker-compose file uses **MySQL version 8.x.x** to host the bluecherry database.

The current version of this docker code intends to build a bluecherry docker image that is as small as possible, and which does *not* bake in any configuration into the image (since docker images are intended to be ephemeral).

Instead, needed configuration parameters such as database and server passwords are passed into the docker container via environment variables. Environment variables are defined and passed using typical methods with `docker` or `docker-compose` commands.

## Initialization and Usage
Expand Down
28 changes: 0 additions & 28 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ read -p "Please provide the SMTP password: " smtppassword
read -p "Please provide the SMTP port: " smtpport
#read -p "Please provide the SMTP username: " smtplogin

#read -p "Please provide the NFS mount point for the NFS export" nfsmountpoint

echo "
Expand Down Expand Up @@ -196,7 +195,6 @@ echo "installing nfs"

read -p "Please provide the IP address of the NFS server: " nfsserver
read -p "Please provide the NFS server export path: " nfsexport
#read -p "Please provide the NFS mount point for the NFS export" nfsmountpoint

echo "
Expand Down Expand Up @@ -432,32 +430,6 @@ case $add_nfs in
esac


configure_nfs() {

echo "installing nfs"

read -p "Please provide the IP address of the NFS server: " nfsserver
read -p "Please provide the NFS server export path: " nfsexport

echo "
version: '3.8'
services:
bluecherry:
volumes:
# - ./recordings:/var/lib/bluecherry/recordings
- videos:/media/bluecherry/nfs
volumes:
videos:
driver_opts:
type: "nfs"
o: "addr=$nfsserver,nolock,soft"
device: ":$nfsexport"
" > $workingpath/bluecherry-docker/docker-compose.override.yml

}
# Let the user know how to access to Bluecherry web UI

IP=$(ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
Expand Down

0 comments on commit 946271a

Please sign in to comment.