Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34
Deploy & run Docker Compose project for WordPress instance with Let's Encrypt HTTPS encryption
License
AdnanHodzic/ansible-role-containerized-wordpress
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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 ofcontainerized-wordpress-project
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.
This role comes with following variables defined in defaults/main.yml:
system_user: ubuntucompose_project_dir: /home/{{ system_user }}/compose-wordpressdomain: foolcontrol.orgstage: stagingwp_version: 5.4.2wp_db_user: adminwp_db_psw: change-M3db_root_psw: change-M3wp_db_name: wordpresswp_db_tb_pre: wp_wp_db_host: mysqlIf 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:
- Automated way of getting Let’s Encrypt certificates for WordPress using Docker + Ansible
- Automagically deploy & run containerized WordPress (PHP7 FPM, Nginx, MariaDB) using Ansible + Docker on AWS
ToDo:Determine if "AdnanHodzic.docker-compose-setup" role should be set as role dependency. If yes, update this section of ReadMe + meta code.
- hosts: servers remote_user: "{{ system_user }}" roles: - { role: AdnanHodzic.containerized-wordpress }}GPLv3
Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!
bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87
About
Deploy & run Docker Compose project for WordPress instance with Let's Encrypt HTTPS encryption
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.

