https://github.com/sous-chefs/confluence
Development repository for the confluence cookbook
https://github.com/sous-chefs/confluence
chef chef-cookbook chef-resource confluence hacktoberfest managed-by-terraform
Last synced: 3 months ago
JSON representation
Development repository for the confluence cookbook
- Host: GitHub
- URL: https://github.com/sous-chefs/confluence
- Owner: sous-chefs
- License: other
- Created: 2013-02-15T20:37:16.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2026-03-20T08:21:27.000Z (3 months ago)
- Last Synced: 2026-03-20T09:03:31.497Z (3 months ago)
- Topics: chef, chef-cookbook, chef-resource, confluence, hacktoberfest, managed-by-terraform
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/confluence
- Size: 557 KB
- Stars: 43
- Watchers: 19
- Forks: 42
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Confluence Cookbook
[](https://supermarket.chef.io/cookbooks/confluence)
[](https://github.com/sous-chefs/confluence/actions?query=workflow%3Aci)
[](#backers)
[](#sponsors)
[](https://opensource.org/licenses/Apache-2.0)
Installs and configures [Atlassian Confluence](https://www.atlassian.com/software/confluence/) using custom resources.
## Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you'd like to know more please visit [sous-chefs.org](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).
## Requirements
### Platforms
- AlmaLinux 8, 9
- Amazon Linux 2023
- CentOS Stream 9
- Debian 12
- Fedora (latest)
- Oracle Linux 8, 9
- Red Hat Enterprise Linux 8, 9
- Rocky Linux 8, 9
- Ubuntu 22.04, 24.04
### Chef
- Chef 16+
### Cookbooks
None - this cookbook has no external cookbook dependencies.
## Resources
- [confluence_install](documentation/confluence_install.md) - Downloads and installs Confluence
- [confluence_config](documentation/confluence_config.md) - Configures JVM and Tomcat settings
- [confluence_service](documentation/confluence_service.md) - Manages the systemd service
## Quick Start
```ruby
# Install Confluence
confluence_install 'confluence' do
version '8.5.4'
end
# Configure Confluence
confluence_config 'confluence' do
jvm_minimum_memory '1g'
jvm_maximum_memory '4g'
end
# Create and start the service
confluence_service 'confluence' do
action [:create, :enable, :start]
end
```
## Usage Examples
### Basic Installation
```ruby
confluence_install 'confluence' do
version '8.5.4'
end
confluence_config 'confluence' do
jvm_minimum_memory '512m'
jvm_maximum_memory '2g'
tomcat_port '8090'
end
confluence_service 'confluence' do
action [:create, :enable]
end
```
### Behind a Reverse Proxy (HTTPS)
When running Confluence behind nginx, Apache, or HAProxy:
```ruby
confluence_install 'confluence' do
version '8.5.4'
end
confluence_config 'confluence' do
jvm_minimum_memory '1g'
jvm_maximum_memory '4g'
tomcat_port '8090'
tomcat_proxy_name 'confluence.example.com'
tomcat_proxy_port '443'
tomcat_scheme 'https'
tomcat_secure true
end
confluence_service 'confluence' do
action [:create, :enable, :start]
end
```
### Custom Paths
```ruby
confluence_install 'confluence' do
version '8.5.4'
install_path '/opt/confluence'
home_path '/data/confluence'
user 'atlassian'
group 'atlassian'
end
confluence_config 'confluence' do
install_path '/opt/confluence'
home_path '/data/confluence'
user 'atlassian'
group 'atlassian'
jvm_maximum_memory '4g'
end
confluence_service 'confluence' do
install_path '/opt/confluence'
home_path '/data/confluence'
user 'atlassian'
group 'atlassian'
action [:create, :enable, :start]
end
```
## Database Configuration
This cookbook does **not** manage database installation or configuration. You must set up your database separately using your preferred method:
- [postgresql cookbook](https://github.com/sous-chefs/postgresql)
- [mysql cookbook](https://github.com/sous-chefs/mysql)
- External managed database (RDS, Cloud SQL, etc.)
Configure the database connection through Confluence's web-based setup wizard after installation.
## Reverse Proxy Configuration
This cookbook does **not** manage reverse proxy configuration. Set up your reverse proxy separately using:
- [nginx cookbook](https://github.com/sous-chefs/nginx)
- [apache2 cookbook](https://github.com/sous-chefs/apache2)
- [haproxy cookbook](https://github.com/sous-chefs/haproxy)
Use the `tomcat_proxy_name`, `tomcat_proxy_port`, `tomcat_scheme`, and `tomcat_secure` properties on `confluence_config` to configure Confluence for reverse proxy operation.
## Contributors
This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false)
### Backers
Thank you to all our backers!

### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.









