Skip to content

lostdock

Cheap deployment to a VPS with Docker Compose

Cheap

Easy to use

Deploy any app

Fast deployment

Scalable

Reliable

Docker Compose

Lightweight

Installation

npm install -g lostdock

Overview

Init a server

Create a new Debian/Ubuntu VPS in your preferred cloud provider. Then init the server:

# After creating a new VPS, login via SSH
lostdock login
 
# Install Docker Compose and start the firewall.
lostdock server init

Deploying

Once you have a server running, you can run a pre-configured stack from GitHub. For example, let's run our lostdock-traefik reverse proxy stack with auto generated TLS certificates

export TRAEFIK_HOST=traefik.example.com
export TRAEFIK_BASIC_AUTH="$(echo $(htpasswd -nb admin admin) | sed -e s/\\$/\\$\\$/g)"
export LETSENCRYPT_EMAIL=example@example.com
 
# Start Traefik reverse proxy
lostdock stacks install-from-git \
    --url https://github.com/carlosbaraza/lostdock.git \
    --path ./packages/lostdock-traefik

We also recommend running the following stacks: lostdock-monitoring (log and metric aggregation and visualization stack) and lostdock-portainer (container management).

Features

lostdock gives you a nice set of tools to make deploying docker compose stacks to a VPS easier. Some of the features are:

  • lostdock server init: Install Docker and Docker Compose on a fresh VPS server
  • lostdock stacks install: Deploy a stack to a server
  • lostdock stacks install-from-git: Deploy stack from a GitHub repository including a docker-compose.yml. Useful to share pre-configured stacks.
  • lostdock stacks: Manage stack configuration, environment variables, start, stop, restart, etc.
  • Multiple extremely useful stacks:

And a lot more.

Community

starsdownloadslicense

Lostdock is an open source project initially developed by @carlosbaraza (opens in a new tab). If you like it, please consider starring it on GitHub (opens in a new tab).

Feel free to join the discussions on GitHub (opens in a new tab)!