50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# Setup
|
|
|
|
```
|
|
# As root on Rocky Linux
|
|
./machine-setup.sh
|
|
|
|
mkdir -p compose
|
|
cd compose
|
|
docker-compose up -d
|
|
# JIRA_PORT=8080
|
|
# CONFLUENCE_PORT=8090
|
|
# Set up your instance with license and
|
|
```
|
|
|
|
## Template Instance Setup
|
|
|
|
The template instances for Jira and Confluence are located in [./compose](./compose)
|
|
|
|
```
|
|
cd compose
|
|
# Start Instance
|
|
docker-compose up -d
|
|
# Stop Instance
|
|
```
|
|
|
|
On Confluence you need to install the BaseURL Plugin from here:
|
|
[OBR](https://marketplace.atlassian.com/download/apps/1220470/version/1000010)
|
|
[Marketplace](https://marketplace.atlassian.com/archive/1220470)
|
|
|
|
The Plugin is required to change the Base URL on Confluence via REST
|
|
|
|
Those instances are cloned.
|
|
|
|
### Update Jira/Confluence Version
|
|
|
|
To update your Academy Instances update the Image Version in the Compose File
|
|
|
|
|
|
## Creating an Academy environment
|
|
|
|
!!! Shut Down the Template Instance before creating Academy Instances !!!
|
|
!!! Otherwise weird things™ might happen !!!
|
|
|
|
```
|
|
# Initialize and start instances - Will take a while (up to 30 minutes)
|
|
# 20 Instances need about 128 GB RAM, so choose your instance size appropriately
|
|
./startAcademyEnvironment --instances 20 --admin 0
|
|
# When you are done
|
|
./startAcademyEnvironment --instances 20 --admin 0 --destroy
|
|
``` |