Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How does the confluence-server docker works

Tan Thiam Soon September 10, 2021

Hi

I am trying to deploy Confluence-Server in AWS ECS Fargate, by following:

https://github.com/Staggerlee011/cfn-module/tree/master/confluence

 

It then occur to me, there are local files in the servers but containers are NOT immutable and thus does not has "local storage". How does the Confluence docker work? Where does it keeps the local files? Or it is a new architecture and longer keeps any local files?

PS: My deployment above failed. I will try that again.

Update: The deployment went thru, but the container keeps dying.

This is in the logs >> jinja2.exceptions.UndefinedError: dict object has no element Undefined

1 answer

1 vote
Alexis Robert
Community Champion
September 10, 2021

Hi @Tan Thiam Soon , 

 

I'm not familiar with AWS Fargate, but I've used Confluence in Docker before. 

What you do is have the Confluence binaries and JRE in Docker, and then mount external directories for the CONFLUENCE_HOME (where you will keep attachments, plugins, etc).

You will also connect to an external database for all your Confluence content (spaces, pages) and configuration.

This way you can stop the Docker container at any time and use another one (for a newer version for example) and still keep your data, as only the binaries will change. The container will use the same configuration file, pointing to the database instance, external directory, etc.

 

Let me know if this helps, 

 

--Alexis

Tan Thiam Soon September 10, 2021

Hi,

Thanks for the fast response. I am not very familiar with AWS yet.

But when I deploy this: https://github.com/Staggerlee011/cfn-module/tree/master/confluence

I see that it creates the external RDS, and it has the RDS parameters with the containers, e.g.:
ATL_JDBC_URL for RDS URL
ATL_JDBC_USER for RDS USER
ATL_JDBC_PASSWORD for RDS PASSWORD
ATL_PROXY_NAME

But if didn't mentioned any mount external directories.

Is there anywhere in the yml file that I need to edit?

Tan Thiam Soon September 14, 2021

I got the docker working in ECS fargate but I am not able to mount to the EFS. It seems to have some permission deny error. I am able to mount the EFS from EC2.

 

You need these variables in case someone is trying.

ATL_DB_TYPE  << this is missing

ATL_JDBC_PASSWORD

ATL_JDBC_URL

ATL_JDBC_USER

ATL_PROXY_NAME

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events