From 946271a2730e6e951617259d5cf1e2d033926e83 Mon Sep 17 00:00:00 2001 From: Andriy Utkin Date: Thu, 23 Nov 2023 14:15:47 +0000 Subject: [PATCH] WIP --- README.md | 2 -- scripts/install.sh | 28 ---------------------------- 2 files changed, 30 deletions(-) diff --git a/README.md b/README.md index b70f9bec..16629fd8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/install.sh b/scripts/install.sh index 9e9fd1ea..7f81cb7d 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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 " @@ -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 " @@ -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}')