Code Monkey home page Code Monkey logo

podman-wordpress-ansible's Introduction

podman-wordpress-ansible

An example playbook to deploy WordPress, NGINX and a MySQL DB in containers, utilising Podman.

Project requirements:

  • Install Podman
  • Create a podman user
  • Deploy WordPress and NGINX in front
  • Data must persist

Notes:

  • Persistent data resides in /opt/wordpress
  • The three containers run within a pod
  • For simplicity sensitive variables have been included in plain text
  • Default variables can be found in the relevant defaults/main.yml file. Override them in group_vars/webserver/main.yml
  • For simplicity I opted for a firewall redirect from 80 -> 8080 instead of lowering the net.ipv4.ip_unprivileged_port_start

Tested on Rocky Linux 8.5.

Usage

Install requirements with:

ansible-galaxy install -r requirements.yml

Then run with:

ansible-playbook deploy.yml

Once completed, visit http://hostname_or_IP_address/wp-admin to continue setup.

podman-wordpress-ansible's People

Contributors

bertiewils avatar

Watchers

 avatar

Forkers

aawm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.