https://github.com/entraptaj/docker-volumer
Script that creates NFS Docker volumes on SSH Hosts listed in a Markdown table
https://github.com/entraptaj/docker-volumer
Last synced: about 1 year ago
JSON representation
Script that creates NFS Docker volumes on SSH Hosts listed in a Markdown table
- Host: GitHub
- URL: https://github.com/entraptaj/docker-volumer
- Owner: EntraptaJ
- License: mit
- Created: 2020-05-16T00:32:21.000Z (about 6 years ago)
- Default Branch: WIP
- Last Pushed: 2022-02-13T12:09:02.000Z (over 4 years ago)
- Last Synced: 2025-07-04T21:13:22.344Z (about 1 year ago)
- Language: TypeScript
- Size: 491 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KristianFJones/Docker-Volumer
This is a script that SSHes into the hosts in a markdown table, and creates the volumes listed in another Markdown table.
## Usage
Create two markdown files.
Create `Volumes.md`
```
| Volume | NFS Server | Path | Notes |
| :----------: | :----------: | :----------------------------------------------------: | :---: |
| NFSDownloads | 192.168.1.21 | /mnt/site1.pool1/Site1.Pool1.Files/Files/JDownloader | |
| AriaNG | 192.168.1.21 | /mnt/site1.pool1/Site1.Pool1.Docker.KJDev1/Data/AriaNg | |
```
Create `Hosts.md`
```
| Hostname |
| ------------- |
| 192.168.1.166 |
| 192.168.1.167 |
| 192.168.1.168 |
```
Create `.env` with the ssh credentials for the hosts
```
USERNAME=user
PASSWORD=password
```
Run script
```
npm start
```