Skip to content

alexclear/chef-docker-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-apps Cookbook

Chef lwrp for run Docker containers

directory "/opt/data/postgres" do
  mode 0700
  recursive true
end

docker_app_instance "postgres" do
  image "prepor/postgres"
  ports ["5432"]
  port_bindings "5432/tcp" => [{"HostIp" => "0.0.0.0", "HostPort" => "5432"}]
  volumes ["/opt/data/postgres/:/var/lib/postgresql/9.3/main"]
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%