heyvaldemar / confluence-traefik-ssl-certificate-docker-swarm

Confluence with SSL Certificate in a Docker Swarm

Home Page:https://www.heyvaldemar.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confluence with SSL Certificate in a Docker Swarm

Install Docker Swarm by following my guide.

Configure Traefik and create secrets for storing the passwords on the Docker Swarm manager node before applying the configuration.

Traefik configuration.

Create a secret for storing the password for Confluence database using the command:

printf "YourPassword" | docker secret create confluence-postgres-password -

Clear passwords from bash history using the command:

history -c && history -w

Run confluence-restore-application-data.sh on the Docker Swarm worker node where the container for backups is running to restore application data if needed.

Run confluence-restore-database.sh on the Docker Swarm node where the container for backups is running to restore database if needed.

Run docker stack ps confluence | grep confluence_backups | awk 'NR > 0 {print $4}' on the Docker Swarm manager node to find on which node container for backups is running.

Deploy Confluence in a Docker Swarm using the command:

docker stack deploy -c confluence-traefik-ssl-certificate-docker-swarm.yml confluence

Author

I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.

🌐 My website with detailed IT guides
🎬 Follow me on YouTube
🐦 Follow me on Twitter
🎨 Follow me on Instagram
🧡 Follow me on Threads
🐘 Follow me on Mastodon
🧊 Follow me on Bluesky
🎸 Follow me on Facebook
πŸŽ₯ Follow me on TikTok
πŸ’» Follow me on LinkedIn
🐈 Follow me on GitHub

Communication

πŸ‘Ύ Chat with IT pros on Discord
πŸ“§ Reach me at ask@sre.gg

Give Thanks

πŸ’Ž Support on GitHub
πŸ† Support on Patreon
πŸ₯€ Support on BuyMeaCoffee
πŸͺ Support on Ko-fi
πŸ’– Support on PayPal