-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathconfluence-compose.yml
executable file
·67 lines (64 loc) · 2.01 KB
/
confluence-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# _____ ____ _____
# _______ ___ / _/ /_ _____ ___ _______ / __/__ / _/ /__ _____ ________
# / __/ _ \/ _ \/ _/ / // / -_) _ \/ __/ -_) _\ \/ _ \/ _/ __/ |/|/ / _ `/ __/ -_)
# \__/\___/_//_/_//_/\_,_/\__/_//_/\__/\__/ /___/\___/_/ \__/|__,__/\_,_/_/ \__/
#
# 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.bak:/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