Docker-NOSH
Installation
Step 1: Preparation
- It is recommended to use an email service to take advantage of all the features of NOSH such as message and schedule notifications. Mailgun is a compatible mail service.
- Make sure you have a domain name registered and linked to the WAN IP (Wide Area Network Internet Protocol) address where Docker-NOSH is connected to. You can get one at Namecheap. They have great instructions for how to do this.
- If your Docker-NOSH is installed physically and is behind a network router, make sure port forwarding is set on your router for ports 22 (for SSH), 80 (for HTTP), and 443 (for HTTPS) routed to the LAN IP (Local Area Network Internet Protocol) address for Docker-NOSH.
Step 2: Download and install Docker
- If you use Linux, install Docker based on the distribution you use such as Ubuntu, Fedora, CentOS, and Arch/Manjaro.
- If you use Linux, install Docker Compose
Step 3: Download and install Git
Git for Windows.
Git for Mac.
Git for Linux.
Step 4: Install Docker-NOSH
Windows:
- If using Docker Toolbox for Windows, make sure Docker is active.
- Win + R to open the Run window; type in
powershell
and press Enter.
- In Powershell:
$Env:COMPOSE_CONVERT_WINDOWS_PATHS=1
- Click the Windows or Start icon. In the Programs list, open the Git folder. Click the option for Git Bash.
git clone https://github.com/shihjay2/docker-nosh.git
cd docker-nosh
./init_win.sh
Mac:
- If using Docker Toolbox for Mac, make sure Docker is active.
- Open the Applications folder. Open Utilities and double-click on Terminal.
git clone https://github.com/shihjay2/docker-nosh.git
cd docker-nosh
./init.sh
Linux:
- Open a command-line terminal.
git clone https://github.com/shihjay2/docker-nosh.git
cd docker-nosh
./init.sh
Stopping NOSH
- Go to the docker-nosh directory.
docker-compose down
- This will shut down the Docker container without removing the volumes (data) that has been saved from your NOSH instance.
Removing NOSH
- Go to the docker-nosh directory.
docker-compose down -v
- This will shut down the Docker container in addition to removing the volumes (data). Please ensure you have a backup or that there is no valuable data to save before doing this; once it's done you can't retrieve your data!
Security Vulnerabilities
If you discover a security vulnerability within NOSH-in-a-Box, please send an e-mail to Michael Chen at shihjay2 at gmail.com. All security vulnerabilities will be promptly addressed.
License
Docker-NOSH is open-sourced software licensed under the GNU AGPLv3 license.