version: "3.8" services: postgres-jira: image: postgres:14-alpine container_name: postgres-jira-greact restart: unless-stopped volumes: - postgres-jira-data:/var/lib/postgresql/data environment: - POSTGRES_USER=jiradb - POSTGRES_PASSWORD=jiradbpass - POSTGRES_DB=jiradb healthcheck: test: ["CMD-SHELL", "pg_isready -U jiradb -d jiradb"] interval: 10s timeout: 5s retries: 5 networks: - atlassian postgres-confluence: image: postgres:14-alpine container_name: postgres-confluence-greact restart: unless-stopped volumes: - postgres-confluence-data:/var/lib/postgresql/data environment: - POSTGRES_USER=confluencedb - POSTGRES_PASSWORD=confluencepass - POSTGRES_DB=confluencedb healthcheck: test: ["CMD-SHELL", "pg_isready -U confluencedb -d confluencedb"] interval: 10s timeout: 5s retries: 5 networks: - atlassian jira: restart: unless-stopped container_name: jira-greact build: context: . dockerfile: Dockerfile.jira expose: - "8080" environment: - ATL_JDBC_URL=jdbc:postgresql://postgres-jira-greact:5432/jiradb - ATL_JDBC_USER=jiradb - ATL_JDBC_PASSWORD=jiradbpass - ATL_DB_TYPE=postgresql - JVM_MINIMUM_MEMORY=1024m - JVM_MAXIMUM_MEMORY=2048m - ATL_PROXY_NAME=jira.greact.ru - ATL_PROXY_PORT=443 - ATL_TOMCAT_SCHEME=https - ATL_TOMCAT_SECURE=true depends_on: postgres-jira: condition: service_healthy volumes: - jira-home:/var/atlassian/application-data/jira networks: - proxy - atlassian confluence: restart: unless-stopped container_name: confluence-greact build: context: . dockerfile: Dockerfile.confluence expose: - "8090" - "8091" environment: - ATL_JDBC_URL=jdbc:postgresql://postgres-confluence-greact:5432/confluencedb - ATL_JDBC_USER=confluencedb - ATL_JDBC_PASSWORD=confluencepass - ATL_DB_TYPE=postgresql - JVM_MINIMUM_MEMORY=1024m - JVM_MAXIMUM_MEMORY=3072m - ATL_PROXY_NAME=confluence.greact.ru - ATL_PROXY_PORT=443 - ATL_TOMCAT_SCHEME=https - ATL_TOMCAT_SECURE=true depends_on: postgres-confluence: condition: service_healthy volumes: - confluence-home:/var/atlassian/application-data/confluence networks: - proxy - atlassian networks: proxy: external: true name: proxy atlassian: driver: bridge volumes: postgres-jira-data: postgres-confluence-data: jira-home: confluence-home: