Skip to content
/ doko Public
forked from egoist/doko

A docker-based development dependency manager.

Notifications You must be signed in to change notification settings

djyde/doko

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doko

A docker-based development dependency manager.

Why

Stop messing with system dependencies, running the services you need in a perfectly isolated Docker container instead, for local development only.

Install

Download the latest release.

Or using gobinaries.com:

curl -sf https://gobinaries.com/egoist/doko | sh

Services

  • postgres
  • timescale
  • mysql
  • redis
  • chrome

Usage

Show the list of services

doko list

Enable a service

doko enable redis

This runs docker run under the hood.

Disable a service

doko disable redis

This runs docker stop under the hood.

Password

The password for the default user in postgres and mysql is set to pass.

Run commands in a Docker container

doko repl <service-name>
# e.g.
doko repl postgres

Note that the container name for timescale service is still postgres.

This is basically a shorthand for:

docker exec -it postgres /bin/bash

Piror Art

Inspired by takeout which is written in PHP while this is written in Go.

License

MIT © EGOIST

About

A docker-based development dependency manager.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.0%
  • Makefile 5.0%