Dockerized Nginx MySQL PHP (for Typecho)
- Put your code or programs into
/www
- Check the
docker-compose.yml
if there is any configuration to modify - Remember to change the database name, user and password by editing the environment variables
- The database connect address is
mysql
as the service name in thedocker-compose.yml
- Generate or put SSL certificate and key to
/ssl
, then add corresponding configurations to the files under/conf
(Optional) - Just
docker-compose up -d