diff --git a/README.md b/README.md index 1c51cac..d1bb40c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # mu-wordpress Run WordPress on Amazon ECS and RDS with mu + +## References: + +* https://hub.docker.com/r/_/wordpress/ +* https://www.sitepoint.com/how-to-use-the-official-docker-wordpress-image/a + diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 0000000..4984c43 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,11 @@ +version: 0.1 + +phases: + build: + commands: + - echo '...replace with real build commands...' + +artifacts: + files: + - '**/*' + diff --git a/mu.yml b/mu.yml new file mode 100644 index 0000000..8c4d3ab --- /dev/null +++ b/mu.yml @@ -0,0 +1,22 @@ +environments: +- name: dev +- name: production + +service: + name: mu-wordpress + port: 8080 + pathPatterns: + - /* + pipeline: + source: + provider: GitHub + repo: oshaughnessy/mu-wordpress + + database: + name: wordpress + iamAuthentication: true + + environment: + #SPRING_DATASOURCE_USERNAME: ${DatabaseMasterUsername} + #SPRING_DATASOURCE_PASSWORD: ${DatabaseMasterPassword} + SPRING_DATASOURCE_URL: jdbc:mysql://${DatabaseEndpointAddress}:${DatabaseEndpointPort}/${DatabaseName}