teamatldocker / confluence

Dockerized Atlassian Confluence
https://hub.docker.com/r/teamatldocker/confluence/
MIT License
301 stars 147 forks source link

I use Docker install confluence ,then I want to config emailServer. But I don't find server.xml file?? #16

Closed aircjm closed 7 years ago

aircjm commented 7 years ago

I use

docker run -d --name confluence \
--link postgres:postgres \
-p 80:8090 -p 8091:8091 blacklabelops/confluence

install confluence. I very like it because it's very simple to install.

I want to config emailServer, find server.xml isn't in volume/*/_data/ dir . where server.xml ?? I wan't to modify it, thanks

blacklabelops commented 7 years ago

Hello aircjm,

How do you configure the email server inside the server.xml? Can you give me an example?

The server.xml is inside the directory /opt/atlassian/confluence/conf.

aircjm commented 7 years ago

very thanks for feedback.

https://confluence.atlassian.com/doc/setting-up-a-mail-session-for-the-confluence-distribution-6328.html

But I not fand the server.xml file in my VPS.

confluence

thanks

blacklabelops commented 7 years ago

The data is written on a docker-volume with the path i mentioned. The data is not written in the named path on your host.

You can either inspect the container and check where docker writes the container volume on your host:

$ docker inspect confluence

or you can enter the container and change into the directory from inside the container:

$ docker exec -it confluence bash
$ cd /opt/atlassian/confluence/conf
aircjm commented 7 years ago

very thanks. @blacklabelops