A Procfile 1) is a text file that maps:
The command are executed by a manager used in the entrypoint
web: bundle exec rails server -p $PORT
foo: /app/foo
RUN apt-get update && \
apt-get install -y \
tmux \ # mandatory for overmind
wget
# ...
RUN set -ex \
&& wget -q https://github.com/DarthSim/overmind/releases/download/v2.0.0/overmind-v2.0.0-linux-amd64.gz \
&& gunzip overmind-v2.0.0-linux-amd64.gz \
&& chmod +x overmind-v2.0.0-linux-amd64 \
&& mv overmind-v2.0.0-linux-amd64 /usr/local/bin/overmind
ADD Procfile /app/
CMD overmind start
name: <command>
where:
Process Manager that supports proc file.
Because it wraps tmux, you can get a terminal window on any of your running programs.
After connecting to your container via bash
cd /app
overmind connect foo
The first one formean