# 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 template instance ``` ## Setting up a DNS record for the VM You have to set up a DNS record for academy.scandio.net. to your VM. ## 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 The content of the template instance will be cloned for each instance. ### 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 - this will delete all data from the training instances. # Your Template Instance will not get deleted ./startAcademyEnvironment --instances 20 --admin 0 --destroy ``` ## Accessing the instances Currently all instances are reachable on seperate ports via HTTP: Jira: 8080+InstanceID*100 Confluence: 8090+InstanceID*100