Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Latest commit

 

History

History
39 lines (29 loc) · 857 Bytes

overmind.md

File metadata and controls

39 lines (29 loc) · 857 Bytes

Overmind

Overmind is a process manager for [[Procfile]]-based applications and [[tmux]]. Easily run multiple processes together like [[Rails]], [[Webpacker]], and [[Sidekiq]] - no Foreman!

Install

# Install tmux if needed
brew install tmux
# Install overmind via brew
brew install overmind

Configuration

Procfile

web: bin/rails server
worker: bundle exec sidekiq
webpack: bin/webpack-dev-server

.overmind.env

OVERMIND_PORT=3000
OVERMIND_DAEMONIZE=1
OVERMIND_PROCFILE=./Procfile.dev

Commands

  • Start: overmind start
  • Use Procfile.dev: overmind start -f path/to/your/Procfile.dev
  • Start in detached mode: overmind start -D
  • Connect: overmind connect [process_name]
  • Restart: overmind restart [process_name]
  • Kill all: overmind kill