#docker-compose

app dockit

App for manage docker-compose files

3 releases

new 0.1.3 Oct 13, 2024
0.1.2 Oct 13, 2024
0.1.1 Oct 10, 2024
0.1.0 Oct 10, 2024

#3 in #docker-compose

Download history 361/week @ 2024-10-09

361 downloads per month

Apache-2.0

13KB
284 lines

Dockit

Dockit is cli app for manage docker-compose files

Usage

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

Installation

  • cargo install dockit

License

Dependencies

~3.5MB
~73K SLoC