Sign inSign up

terzom/docker-puppet_forge_server

By terzom

Updated almost 10 years ago

Clone from https://github.com/m4ce/docker-puppet_forge_server

Image
0

399

terzom/docker-puppet_forge_server repository overview

Docker image for Puppet Forge Server

Docker image to run a private Puppet Forge Server (https://github.com/unibet/puppet-forge-server)

See the usage section for more details.

Usage

Generic configuration can be driven by exporting the following enviroment variables:

Environment variableDescription
PUPPET_FORGE_SERVER_PORTPort number to bind to (default: 8080)
PUPPET_FORGE_SERVER_CACHEDIRProxy module cache base directory (default: /srv/puppet-forge-server/cache)
PUPPET_FORGE_SERVER_LOGDIRLog directory (default: STDOUT)
PUPPET_FORGE_SERVER_MODULEDIRDirectory containing packaged modules (recursively searched)
PUPPET_FORGE_SERVER_PROXYRemote forge URL
PUPPET_FORGE_SERVER_DEBUGLog everything into STDERR

Run

docker run -d --restart=always -p 8080:8080 -e PUPPET_FORGE_SERVER_MODULEDIR=/srv/puppet-forge-server/modules -v <path_to_modules>:/srv/puppet-forge-server/modules m4ce/puppet-forge-server

If you wish to run the forge daemon as a non-root user, please look at user namespaces support in Docker.

Contact

Matteo Cerutti - [email protected]

Tag summary

Content type

Image

Digest

Size

39.8 MB

Last updated

almost 10 years ago

docker pull terzom/docker-puppet_forge_server