hosted-compose

0.0.15 • Public • Published

hosted-compose

hosted-compose is a command-line tool for managing common server tasks, using Docker Compose applications and Docker on remote and local hosts.

Features

  • Manage Docker Compose applications with the apps command
  • Manage Docker with the docker command
  • SSH integration with the ssh command
  • Custom script integration with the scripts command

Installation

npm i -g hosted-compose

To get started, you can view the available commands by running: hosted-compose --help

Usage

create your first app:

hosted-compose apps create --name mongo --root-dir ./apps

example config:

version: "3.4"

services:
  mongo_container:
    container_name: mongo_service
    image: mongo
    labels:
      - homepage.show=true
    environment:
      NODE_ENV: production
    ports:
      - 3201:27017

remove app:

hosted-compose apps remove --name mongo --root-dir ./apps

visit the docs folder for more information

Package Sidebar

Install

npm i hosted-compose

Weekly Downloads

1

Version

0.0.15

License

MIT

Unpacked Size

56 kB

Total Files

22

Last publish

Collaborators

  • niradler55