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
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.