An open API service indexing awesome lists of open source software.

https://github.com/compose-x/wordpress-demo

Deploy Wordpress with ECS ComposeX from original docker-compose by Bitnami
https://github.com/compose-x/wordpress-demo

aws aws-cloudformation aws-ecs compose-x docker-compose ecs-composex wordpress

Last synced: 27 days ago
JSON representation

Deploy Wordpress with ECS ComposeX from original docker-compose by Bitnami

Awesome Lists containing this project

README

          

=========================
Wordpress - ECS ComposeX
=========================

This repository serves as resource and example point people exploring with AWS ECS and ECS ComposeX.

Our objective here is to how easy it is to use an existing docker-compose file for an application, such as
wordpress, split it into multiple "environment" which will allow local development and publish to AWS.

The docker-compose file originally comes from https://gallery.ecr.aws/bitnami/wordpress.

Running locally
================

To run the split docker-compose file locally as original, simply run

.. code-block:: bash

docker-compose -f docker-compose.yml -f local.yml up

Deploy to AWS
===============

Verify and adapt all the settings and configuration you find in **aws.yml** file to match your environment.
Once that is done, all you have to do is deploy to AWS via

.. code-block:: yaml

ecs-compose-x up -f docker-compose.yml -f aws.yml -n wordpress-demo

.. hint::

If you do not wish to specify a bucket you can let ecs-composex create all the necessary for you. Simply run

ecs-compose-x init