All Projects → AdnanHodzic → ansible-role-containerized-wordpress

AdnanHodzic / ansible-role-containerized-wordpress

Licence: GPL-3.0 License
Deploy & run Docker Compose project for WordPress instance with Let's Encrypt HTTPS encryption

Projects that are alternatives of or similar to ansible-role-containerized-wordpress

Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (+1126.67%)
Mutual labels:  letsencrypt, debian, ubuntu
Certbot Install
Install the latest Certbot in a breeze. Great for Ubuntu Focal 20.04, and other Linux/Mac.
Stars: ✭ 50 (+233.33%)
Mutual labels:  letsencrypt, debian, ubuntu
ansible-role-docker-ce
Ansible role to install Docker CE on AlmaLinux/Rocky/CentOS/Fedora/RHEL(Redhat)/Ubuntu/Debian/Mint/Raspbian
Stars: ✭ 73 (+386.67%)
Mutual labels:  debian, ansible-role
ght-acme.sh
Shell script to sign certificate by the letsencrypt CA
Stars: ✭ 31 (+106.67%)
Mutual labels:  letsencrypt, letsencrypt-certificates
ansible-dnsmasq
Ansible role to set up Dnsmasq in Debian-like systems
Stars: ✭ 18 (+20%)
Mutual labels:  debian, ubuntu
ansible-mdadm
No description or website provided.
Stars: ✭ 48 (+220%)
Mutual labels:  debian, ansible-role
jira role
Ansible role to install Atlassian JIRA
Stars: ✭ 13 (-13.33%)
Mutual labels:  debian, ansible-role
ansible-kafka
Ansible role for installing and configuring Apache Kafka on RedHat and Debian platforms.
Stars: ✭ 56 (+273.33%)
Mutual labels:  debian, ansible-role
ansible-roles
My Ansible roles for Debian/Ubuntu
Stars: ✭ 57 (+280%)
Mutual labels:  debian, ansible-role
pacstall-programs
Pacstall's official program repository
Stars: ✭ 63 (+320%)
Mutual labels:  debian, ubuntu
sublime-patcher
Bash script for patching/cracking Sublime Text on Linux
Stars: ✭ 20 (+33.33%)
Mutual labels:  debian, ubuntu
dawgmon
dawg the hallway monitor - monitor operating system changes and analyze introduced attack surface when installing software
Stars: ✭ 52 (+246.67%)
Mutual labels:  debian, ubuntu
ansible-haproxy
Installs and configures HAProxy
Stars: ✭ 19 (+26.67%)
Mutual labels:  debian, ansible-role
tomcat role
Ansible role to install Apache Tomcat Java Servlet Container
Stars: ✭ 13 (-13.33%)
Mutual labels:  debian, ansible-role
openconnect-installer
Automatically set up an Openconnect/Anyconnect VPN server(ocserv) with Let's Encrypt with just one command in CentOS 8.
Stars: ✭ 64 (+326.67%)
Mutual labels:  letsencrypt, letsencrypt-certificates
LeSslCertToAzure
Powershell Module that creates a SSL/TLS Certificate with Let's Encrypt Service and apply to an Azure Application Gateway.
Stars: ✭ 14 (-6.67%)
Mutual labels:  letsencrypt, letsencrypt-utils
intellij-idea-ultimate
Unofficial .deb packages of IntelliJ IDEA Ultimate Edition. This is a mirror of https://gitlab.com/mmk2410/intellij-idea-ultimate
Stars: ✭ 16 (+6.67%)
Mutual labels:  debian, ubuntu
ansible-ssh-keys
Ansible role to manage ssh keys in Debian-like systems
Stars: ✭ 26 (+73.33%)
Mutual labels:  debian, ubuntu
consul role
Ansible role to install Consul (cluster of) server/agent
Stars: ✭ 14 (-6.67%)
Mutual labels:  debian, ansible-role
mailserver
Simple and full-featured mail server using Docker
Stars: ✭ 88 (+486.67%)
Mutual labels:  letsencrypt, debian

Ansible Role: Containerized WordPress

This Ansible playbook will Deploy & run Docker Compose project for WordPress instance. It will also configure Let's Encrypt certificates for specified domain. It consists of 3 separate containers running:

  • WordPress
  • Nginx (enabled with Let's Encrypt HTTPS encryption)
  • MySQL

This role was created as part of containerized-wordpress-project

Requirements

For this role to work, it is required to have have Docker and Docker Compose installed and setup. If you haven't done this already (manually), then you're required to install following role: AdnanHodzic.docker-compose.

Role Variables

This role comes with following variables defined in defaults/main.yml:

system_user: ubuntu
compose_project_dir: /home/{{ system_user }}/compose-wordpress
domain: foolcontrol.org
stage: staging
wp_version: 5.4.2
wp_db_user: admin
wp_db_psw: change-M3
db_root_psw: change-M3
wp_db_name: wordpress
wp_db_tb_pre: wp_
wp_db_host: mysql

If role is run without changing these, WordPress instance with Nginx virtual host as well as Database settings will be setup with these values.

stage is an important value and its detailed explanation can be found on: Let's Encrypt certificates (HTTPS encryption)

Blog post discussion:

Dependencies

ToDo: Determine if "AdnanHodzic.docker-compose-setup" role should be set as role dependency. If yes, update this section of ReadMe + meta code.

Example Playbook

- hosts: servers
  remote_user: "{{ system_user }}"
  roles:
    - { role: AdnanHodzic.containerized-wordpress }}  

License

GPLv3

Donate

Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!

PayPal

paypal

BitCoin

bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87

bitcoin

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].