Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.
ithousePublic archive

About

No description, website, or topics provided.

Resources

Stars

12 stars

Watchers

3 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

dokku-connect-network

Attach docker's network defined in the the host's /home/dokku/<APP>/DOKKU_CONNECT_NETWORK file after the app is deployed.

requirements

  • dokku 0.4.0+
  • docker 1.6.x

installation

# on 0.4.x
dokku plugin:install https://github.com/ithouse/dokku-connect-network.git  connect-network

usage

To use, create a DOKKU_CONNECT_NETWORK file in /home/dokku/<APP>. For instance, if we have an application called lolipop:

touch /home/dokku/lolipop/DOKKU_CONNECT_NETWORK
chown dokku:dokku /home/dokku/lolipop/DOKKU_CONNECT_NETWORK
echo -n "rednet" > /home/dokku/lolipop/DOKKU_CONNECT_NETWORK

Next, Create the network that you would like to attach to your containers.:

docker network create rednet

Once that is done, any deploy should automatically attach network to your containers.

About

No description, website, or topics provided.

Resources

Stars

12 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages