Sign inSign up

coigovpl/puppet-forge-server

By coigovpl

Updated over 8 years ago

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

Image
0

10K+

coigovpl/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_CACHE_DIRProxy module cache base directory (default: /srv/puppet-forge-server/cache)
PUPPET_FORGE_SERVER_LOG_DIRLog directory (default: /srv/puppet-forge-server/logs)
PUPPET_FORGE_SERVER_MODULEDIRDirectory containing packaged modules (recursively searched)
PUPPET_FORGE_SERVER_USERUser that will run server process (default: forge)
PUPPET_FORGE_SERVER_PROXYRemote forge URL
PUPPET_FORGE_SERVER_DEBUGLog everything into STDERR

By default container is build to use user forge with uid: 576. If you like to use other uid, the image needs to be rebuild for ex.:

FROM m4ce/puppet-forge-server
ENV PUPPET_FORGE_SERVER_USER_ID 999

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

Contact

Centralny Osrodek Informatyki - [email protected]

Original version created by Matteo Cerutti - [email protected]

Tag summary

Content type

Image

Digest

Size

143.8 MB

Last updated

over 8 years ago

docker pull coigovpl/puppet-forge-server