Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.08 KB

README.rst

File metadata and controls

39 lines (21 loc) · 1.08 KB

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

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

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