Skip to content

DjordjeVucinac82/444noresponse

Repository files navigation

Wordpress docker-compose with mysql nginx SSL redis pma

WP

⚠️⚠️⚠️ STACK IS NOT YET READY FOR PRODUCTION USE, USE IT WITH CAUTION ⚠️⚠️⚠️

References

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04

Prerequisites

Docker

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04

Docker-compose

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04

Usage

Clone repository:
git clone https://github.com/DjordjeVucinac82/444noresponse.git
cd 444noresponse/

Rename .env.example to .env:
mv .env.example .env
sudo nano .env
Populate paswords fields in new .env file (your_password)

⚠️Open ports in your firewall: 22, 80, 443, 8080

Start docker-compose:
sudo chmod +x init-letsencrypt.sh
sudo ./init-letsencrypt.sh

Domain name

Domain name should be A records domain name to IP.

Use CloudFormation

CloudFormation Stack will create EC2 Ubuntu 20.04 server in eu-central-1 (Frankfurt) region with docker and docker-compose. ⚠️Need to create .pem key manualy in selected AWS region.
Need to install aws cli: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Setup AWS access keys and region: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html \

Run these commands to start, update or delete CloudFormation stack, use --profile your_profile flag if needed:
aws cloudformation create-stack --stack-name noresponse --template-body file://CloudFormationStack.yml
aws cloudformation update-stack --stack-name noresponse --template-body file://CloudFormationStack.yml
aws cloudformation delete-stack --stack-name noresponse
aws cloudformation validate-template --template-body file://CloudFormationStack.yml

DNS

TODO - I'll make new repository for new environment.

About

🔭🔭🔭Wordpress docker-compose mysql SSL-certbot redis nginx pma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages