Skip to content

gbevan/ubuntu-foreman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker project: gbevan/ubuntu-foreman

This image was put together for training and demo purposes. If intending any real use of this image, then you should seriously consider persistent volumes (see below) for all critical data and configuration.

With Puppet Foreman 1.15 and latest Ansible v2

The container simply automates instructions at - http://theforeman.org/manuals/1.15/index.html#2.Quickstart

  • and layers on the latest current version of Ansible.

To use it:

docker run --restart=always -d \
  -p 443:443 -p 8443:8443 -p 8140:8140 \
  -h foreman.example.com \
  --init \
  --name foreman \
  gbevan/ubuntu-foreman

(Optional option --restart=always ensures the container is restarted in the event of failure or restart of the parent server/docker daemon.)

Monitor the foreman install log, as it completes the installation:

docker logs -f foreman

Point your browser at https://your-host

Contributing

Feel free to submit Pull Requests at https://github.com/gbevan/ubuntu-foreman

Persistent Volumes

You should probably make these (at least) persistent volumes:

/etc/foreman-installer
/etc/puppetlabs
/var/lib/foreman
/var/lib/postgresql
/var/log