H2 replacement for Atlassian SDK

With H2 no longer supported, are there any instructions on configuring your development environment so that atlas-run uses another database?

@RobertEgan1 It is much faster and easier to use Docker anyway…

You can use a docker-composer.yml like this.

version: "3.8"
services:
  confluence-my-app-postgresql-14:
      image: postgres:14.7-alpine # See doc for supported version https://confluence.atlassian.com/doc/supported-platforms-207488198.html
      container_name: confluence-my-app-postgresql-14
      restart: "no"
      environment:
          POSTGRES_USER: root
          POSTGRES_PASSWORD: 12345
      ports:
          - "5432:5432"
      volumes:
          - /var/lib/postgresql/data-14
          - ./src/main/resources/docker-postgresql:/docker-entrypoint-initdb.d
          - .docker/data-transfer:/docker-data-transfer

  confluence-my-app-confluence:
    image: atlassian/confluence-server:7.19.6
    container_name: confluence-my-app-confluence
    restart: "no"
    ports:
      - "8080:8080"
      - "5005:5005"
    environment:
      ATL_TOMCAT_PORT: 8080
      ATL_TOMCAT_CONTEXTPATH: "confluence"
      JVM_MINIMUM_MEMORY: "2048M"
      JVM_MAXIMUM_MEMORY: "6048M"
      JVM_SUPPORT_RECOMMENDED_ARGS: " -Dplugin.script.roots=/var/atlassian/application-data/confluence-script-root -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 "
    volumes:
      - .docker/confluence-data:/var/atlassian/application-data/confluence
      - .docker/data-transfer:/docker-data-transfer

Set your amps.version to 8.10.1 and you don’t need an external database.