-
Notifications
You must be signed in to change notification settings - Fork 4
060 #17
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
Merged
060 #17
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5b563f2
Docs: Code analysis and docs reorganisation
alvagante 4702791
refactor: Code refactoring and consolidation
alvagante 4cd4039
Docs: Documentation reorganisation
alvagante dc93a34
docs: update README table of contents and fix documentation consistency
alvagante 485929f
docs: Update screenshots
alvagante 9ba47e4
fix: remove unnecessary type arguments
alvagante 28b8789
docs: Sample Bolt project removed, more docs on Docker
alvagante 44d3ddd
Docs: Added plan for version 1
alvagante 2c1e4ed
Docs: Version 0.6.0 update
alvagante 7582a3b
Update .env.docker
alvagante File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Sample .env file for a docker setup where all the needed | ||
| # files are in your $(cwd)/pabawi dir which is mounted to /pabawi in the container | ||
|
|
||
| PORT=3000 | ||
| HOST=localhost | ||
| LOG_LEVEL=info | ||
| DATABASE_PATH=/pabawi/data/pabawi.db | ||
|
|
||
| # PuppetDB integration | ||
| PUPPETDB_ENABLED=true | ||
| PUPPETDB_SERVER_URL=https://puppet.example.com | ||
| PUPPETDB_PORT=8081 | ||
| PUPPETDB_TOKEN= | ||
| PUPPETDB_SSL_ENABLED=true | ||
| # You can generate certs for pabawi using scripts/generate-pabawi-cert.sh | ||
| PUPPETDB_SSL_CA=/pabawi/certs/ca.pem | ||
| PUPPETDB_SSL_CERT=/pabawi/certs/pabawi.pem | ||
| PUPPETDB_SSL_KEY=/pabawi/certs/pabawi-key.pem | ||
| PUPPETDB_SSL_REJECT_UNAUTHORIZED=true | ||
|
|
||
| # Puppetserver integration | ||
| PUPPETSERVER_ENABLED=true | ||
| PUPPETSERVER_SERVER_URL=https://puppet.example.com | ||
| PUPPETSERVER_PORT=8140 | ||
| PUPPETSERVER_TOKEN= | ||
| PUPPETSERVER_SSL_ENABLED=true | ||
| # You can use the same cert used for PuppetBD or a different one | ||
| PUPPETSERVER_SSL_CA=/pabawi/certs/ca.pem | ||
| PUPPETSERVER_SSL_CERT=/pabawi/certs/pabawi.pem | ||
| PUPPETSERVER_SSL_KEY=/pabawi/certs/pabawi-key.pem | ||
| PUPPETSERVER_SSL_REJECT_UNAUTHORIZED=true | ||
|
|
||
| # Hiera integration | ||
| HIERA_ENABLED=true | ||
| HIERA_CONTROL_REPO_PATH=/pabawi/control-repo | ||
| HIERA_CONFIG_PATH=hiera.yaml | ||
|
|
||
| # Bolt integration | ||
| BOLT_COMMAND_WHITELIST_ALLOW_ALL=false | ||
| BOLT_COMMAND_WHITELIST=["ls","pwd","whoami","uptime"] | ||
| BOLT_EXECUTION_TIMEOUT=300000 | ||
| # Bolt project files can stay in the control repo or in a separate dir | ||
| BOLT_PROJECT_PATH=/pabawi/control-repo | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Docker deployments, binding to
HOST=localhostinside the container will typically make the service unreachable via published ports (the process listens only on the container loopback). UseHOST=0.0.0.0(or omit HOST if the app defaults appropriately) so port mapping works.