This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth_mechanisms = plain login | |
!include auth-sql.conf.ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: | |
image: orsolin/amazonlinux-apache-php | |
ports: | |
- "80:80" | |
links: | |
- db | |
- mailcatcher | |
volumes: | |
- .:/app | |
environment: |
If you have an IAM user that you set up using the IAM interface, you need to do the following two steps to enable the user to send email using the Amazon SES SMTP interface:
-
Derive the user's SMTP credentials from their AWS credentials using the algorithm provided in this section. A user's SMTP username is the same as their AWS Access Key ID, so you just need to generate the SMTP password.
-
Apply the following policy to the IAM user:
{
"Version": "2012-10-17",
"Statement": [
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum -y install httpd php php-common php-mysql php-gd php-mbstring php-xml php-xmlrpc | |
chkconfig httpd on | |
/etc/init.d/httpd start | |
cd /tmp | |
wget http://wordpress.org/latest.tar.gz | |
tar xzvf latest.tar.gz | |
mv wordpress/* /var/www/html/ | |
chown -R apache:apache /var/www/html/ |