All Projects → apocas → dockerode-compose

apocas / dockerode-compose

Licence: Apache-2.0 license
docker-compose in Node.js using dockerode

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to dockerode-compose

Compose Richtext
A collection of Compose libraries for advanced text formatting and alternative display types.
Stars: ✭ 162 (+110.39%)
Mutual labels:  compose
Haven Platform
Haven is an open source Docker container management system. It integrates container, application, cluster, image, and registry management in one single place.
Stars: ✭ 223 (+189.61%)
Mutual labels:  compose
Delish
Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVI clean architecture.
Stars: ✭ 356 (+362.34%)
Mutual labels:  compose
Dinocompose
Chrome's Dino T-Rex game developed in Jetpack Compose
Stars: ✭ 170 (+120.78%)
Mutual labels:  compose
Compose Backstack
Simple composable for rendering transitions between backstacks.
Stars: ✭ 208 (+170.13%)
Mutual labels:  compose
composer
API-first task runner with three methods: task, run and watch.
Stars: ✭ 35 (-54.55%)
Mutual labels:  compose
React Adopt
😎 Compose render props components like a pro
Stars: ✭ 1,668 (+2066.23%)
Mutual labels:  compose
Compose-Settings
Android #JetpackCompose Settings library
Stars: ✭ 188 (+144.16%)
Mutual labels:  compose
Awesome Jetpack Compose Android Apps
👓 A curated list of awesome Jetpack Compose android apps by open-source contributors.
Stars: ✭ 207 (+168.83%)
Mutual labels:  compose
SuperheroLexicon
Simple superhero lexicon app to demonstrate Jetpack Compose.
Stars: ✭ 22 (-71.43%)
Mutual labels:  compose
Jetquotes
🔖 A Quotes Application built to Demonstrate the Jetpack Compose UI
Stars: ✭ 179 (+132.47%)
Mutual labels:  compose
Jetpack Compose Android Examples
Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.
Stars: ✭ 207 (+168.83%)
Mutual labels:  compose
ComposeBird
Flappy Bird game
Stars: ✭ 193 (+150.65%)
Mutual labels:  compose
Composecookbook
A Collection on all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential
Stars: ✭ 3,516 (+4466.23%)
Mutual labels:  compose
Banner
🔥🔥🔥Android Compose Banner!!! 安卓 Compose 版本的 Banner,欢迎大家体验!!!
Stars: ✭ 40 (-48.05%)
Mutual labels:  compose
Klokk
🕒 A kinetic wall clock, built using Compose Desktop
Stars: ✭ 151 (+96.1%)
Mutual labels:  compose
Fluentdocker
Commands, Services and Fluent API for docker, docker-compose & docker-machine, for win/mac/linux and native docker in c#
Stars: ✭ 245 (+218.18%)
Mutual labels:  compose
android-compose-mvvm-foodies
Android sample app following best practices: Kotlin, Compose, Coroutines and Flow, Hilt, JetPack Navigation, ViewModel, MVVM, Retrofit, Coil
Stars: ✭ 374 (+385.71%)
Mutual labels:  compose
kmm-production-sample
This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
Stars: ✭ 1,476 (+1816.88%)
Mutual labels:  compose
kighlighter
Simple and extendable code highlighter in Kotlin Multiplatform
Stars: ✭ 22 (-71.43%)
Mutual labels:  compose

dockerode-compose

docker-compose in Node.js using dockerode.

Everything is executed programmatically using dockerode, consequently Docker's API.

ToDo:

  • Finish compose spec
  • User friendly functions (partial deploys, etc) needs to be implemented.

Installation

npm install dockerode-compose

Getting started

To use dockerode-compose first you need to instantiate it:

var Dockerode = require('dockerode');
var DockerodeCompose = require('dockerode-compose');

var docker = new Dockerode();
var compose = new DockerodeCompose(docker, './test/wordpress.yml', 'wordpress');

(async () => {
  await compose.pull();
  var state = await compose.up();
  console.log(state);
})();

Documentation

  • new DockerodeCompose(dockerode, file, project_name)
  • compose.up()
  • compose.pull(service, options) - omit service to pull all images, options.streams return the streams without waiting, options.verbose pipe the streams to stdout.

Tests

  • Tests are implemented using mocha and chai. Run them with npm test.

Examples

Check the examples folder for more specific use cases examples.

License

Pedro Dias - @pedromdias

Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:

http://www.apache.org/licenses/LICENSE-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].