3 stable releases
2.0.0 | Sep 12, 2024 |
---|---|
1.1.0 | Sep 11, 2024 |
1.0.0 | Sep 10, 2024 |
#688 in Command line utilities
28KB
631 lines
Docks
A docker compose uploading tool.
Requirements
- docker
- docker-compose
- docker-buildx
- rsync
- ssh
- nmap
- ranger
Installation
cargo install docks
Uninstall
cargo uninstall docks
Usage
docks
Structure
services # The root directory contenting all services
└── picsou # A service (can contains folders and files)
└── compose.yaml # The service main file
2 directories, 1 file
Compose.yaml
services:
picsou:
image: otechdo/picsou:latest
restart: always
ports:
- "3000:3000"
The config
[local]
containers = ["adminer", "teams"]
[lab]
username = "root"
ip = "lab.ji"
port = "22"
containers = ["gitlab"]
Min structure
services
├── adminer
│ └── compose.yaml
├── gitlab
│ └── compose.yaml
└── nexcloud
└── compose.yaml
4 directories, 3 files
Dependencies
~5–16MB
~140K SLoC