Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PUPPETSERVER_PORT environment value #85

Closed
wants to merge 1 commit into from
Closed

Add PUPPETSERVER_PORT environment value #85

wants to merge 1 commit into from

Conversation

jchonig
Copy link

@jchonig jchonig commented Jul 6, 2019

This allows overriding the host port for puppetserver.

Improve documentation of environment variables.

#84

This allows overriding the host port for puppetserver.

Improve documentation of environment variables.
@jchonig jchonig requested a review from a team as a code owner July 6, 2019 13:41
Copy link
Contributor

@underscorgan underscorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jchonig , thank you for your contribution! I have a few comments but in general this looks good!


### PUPPETWARE_ANALYTICS_ENABLED

See *Analytics Data Collection* below
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The analytics data collection section is above this

```
VOLUME_ROOT=/container_data/pupperware
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think moving this addition up to before the list of subdirectories would make more sense.

@@ -68,6 +68,13 @@ PuppetDB
`Preferences>File Sharing` in order for these directories to be created
and volume-mounted automatically. There is no need to add each sub directory.

The default can be overridden with the `VOLUME_ROOT` environement
variable in the `.env` file (see *Environment* below)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
variable in the `.env` file (see *Environment* below)
variable (see *Environment* below)

Since env variables can be set in the .env file or on the command line I think we can probably just refer to it as environment variable without extra information on where to set it

## Environment

Environment variables may be specified in `.env` file in this
directory.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
directory.
directory or passed in on the command-line when running `docker-compose up`, i.e. `DNS_ALT_NAMES=test.server docker-compose up`.


See *Analytics Data Collection* below

### PUPPETSERVER_PORT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a great idea for a way to make this variable name more clear, but with the name PUPPETSERVER_PORT my initial thought was that this was going to change the port the container was listening to, not the mapped port on the host running the container. Would like to find a name that makes it a little more clear that this is the mapped port.

@CLAassistant
Copy link

CLAassistant commented Feb 24, 2021

CLA assistant check
All committers have signed the CLA.

@Iristyle Iristyle closed this Apr 6, 2021
@Iristyle Iristyle deleted the branch puppetlabs:master April 6, 2021 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants