default port: 8090
- docker-compose: 17.09.0+
- start confluence & mysql
git clone https://github.com/haxqer/confluence.git \
&& cd confluence \
&& docker-compose up
- start confluence & mysql daemon
docker-compose up -d
- default db(mysql 8.0.28) configure:
driver=mysql8.0.28
host=mysql-confluence
port=3306
db=confluence
user=confluence
passwd=123123
- start confluence
docker run -p 8090:8090 -v ./confluence:/var/confluence --network confluence-network --name confluence-srv -e TZ='Asia/Shanghai' haxqer/confluence
- config your own db:
docker exec confluence-srv java -jar /var/agent/atlassian-agent.jar \
-p conf \
-m [email protected] \
-n [email protected] \
-o http://website \
-s you-server-id-xxxx
- .eg I want to use BigGantt plugin
- Install BigGantt from confluence marketplace.
- Find
App Key
of BigGantt is :eu.softwareplant.biggantt
- Execute :
docker exec confluence-srv java -jar /var/agent/atlassian-agent.jar \
-p eu.softwareplant.biggantt \
-m [email protected] \
-n [email protected] \
-o http://website \
-s you-server-id-xxxx
- Paste your license
- If you use
debian
, just do it.
./script/debian-install-docker.sh
./script/linux-install-docker-compose.sh
path : ~/.docker/config.json
content :
{
"proxies": {
"default": {
"httpProxy": "http://ip:port",
"httpsProxy": "http://ip:port"
}
}
}