Crates.io | dockit |
lib.rs | dockit |
version | 0.1.3 |
source | src |
created_at | 2024-10-10 05:34:40.762227 |
updated_at | 2024-10-13 11:32:43.938625 |
description | App for manage docker-compose files |
homepage | |
repository | |
max_upload_size | |
id | 1403477 |
size | 32,269 |
Dockit is cli app for manage docker-compose files
dockit init
version: '3'
services: {}
volumes: {}
networks: {}
dockit add service --name db -i surrealdb/surrealdb:latest -p 80:8000
version: '3'
services:
db:
image: surrealdb/surrealdb:latest
container_name: db
ports:
- 80:8000
volumes: {}
networks: {}
dockit add network -n frontend -e my_net
version: '3'
services:
db:
image: surrealdb/surrealdb:latest
container_name: db
ports:
- 80:8000
volumes: {}
networks:
frontend:
external:
name: my_net
dockit add volume -n pg_volume -e data
version: '3'
services:
db:
image: surrealdb/surrealdb:latest
container_name: db
ports:
- 80:8000
volumes:
pg_volume:
external:
name: data
networks:
frontend:
external:
name: my_net
cargo install dockit