Git Product home page Git Product logo

Comments (1)

MortezaMoFa avatar MortezaMoFa commented on July 22, 2024

solved!

# 
#                 _____                        ____     _____                     
#  _______  ___  / _/ /_ _____ ___  _______   / __/__  / _/ /__    _____ ________ 
# / __/ _ \/ _ \/ _/ / // / -_) _ \/ __/ -_) _\ \/ _ \/ _/ __/ |/|/ / _ `/ __/ -_)
# \__/\___/_//_/_//_/\_,_/\__/_//_/\__/\__/ /___/\___/_/ \__/|__,__/\_,_/_/  \__/ 
#                                                                                 
#   Docker Compose for Run confluence  
#   Test for Jira Server 7.x
#   Need  "my-net" Network for Run this File
#   docker network create --driver bridge --subnet=150.50.50.0/24 my-net

version: "3.4"
services:
  confluence:
    image: atlassian/confluence-server:latest
    restart: always
    container_name: confluence
    hostname: confluence
    environment:      
      ATL_DB_TYPE: 'postgresql'
      ATL_JDBC_URL: 'jdbc:postgresql://db-con:5432/confluence'
      ATL_JDBC_USER: 'confluence'
      ATL_JDBC_PASSWORD: 'o3B5\U[4Edt03dBP/Miv'
      JAVA_OPTS: '-javaagent:/atlassian-agent.jar'
      JVM_MINIMUM_MEMORY: 512m
      JVM_MAXIMUM_MEMORY: 2048m
      #ATL_PROXY_NAME: confluence.my-site.com
      #ATL_PROXY_PORT: 443
      #ATL_TOMCAT_SCHEME: 'https'
      #ATL_TOMCAT_SECURE: 'true'
    volumes:
      - confluence-data:/var/atlassian/application-data/confluence
      - ./agent/atlassian-agent.back:/atlassian-agent.jar:ro
    networks:
      my-net:
       aliases:
        - con
    ports:
      - 8090:8090
      - 8091:8091
    depends_on:
      - postgressql-confluence

  postgressql-confluence:
    image: postgres
    restart: always
    container_name: postgressql-confluence
    hostname: postgressql-confluence
    environment:
      POSTGRES_USER: confluence
      POSTGRES_PASSWORD: 'o3B5\U[4Edt03dBP/Miv'
      POSTGRES_DB: confluence
    volumes:
      - postgresql-data-con:/var/lib/postgresql/data
    networks:
      my-net:
       aliases:
        - db-con

networks:
  my-net:
    external: true
volumes:
  postgresql-data-con:
    name: postgresql-data-con
  confluence-data:
    name: confluence-data

from atlassian-software.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.