Get support for jcubic/wodpress-docker
If you're new to LTH, please see our FAQ for more information on what it is we do.
Qualified Helpers
jcubic/wodpress-docker
Wordpress Blog Scaffold
To install wordpress on Docker:
- build wordpress docker image:
docker build -t msmtp.ca.wordpress .
It will build wordpress image with CA certificates and send mail command.
If you have any CA certificates that need to be installed copy then to ./ca
directory.
- Run docker compose:
docker-compose up -d
- After this finshes, access the server from the browser and install wordpress.
Notes
- If you want to access wordpress like other sites change the port in
docker-compose.yml
to80:80
- If you run this on OpenStack you need to expose port 80 for your machine
- With open stack is best if you mount volume and put all files there, so you don't loose them when machine will restart (hopefully)
- Remember to set permission to
msmtprc
so apache userwww-data
can access it, otherwise you will not be able to send emails from php.
sudo chown www-data:www-data msmtprc
If that give you error (e.g. if your system don't have that user) you can run:
docker ps
it will return list of docker images you get the container id of msmtp.ca.wordpress
image and run:
docker exec -it <ID> bash
chown ww-data:www-data /etc/msmtprc
This will change the ownership inside container. It was needed on Fedora
that had user apache
and not www-data
like Ubuntu.
NOTE
You will not be able to send emails if you run this localy since most email servers check reverse DNS to check the source of the email.
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2024 © lth-dev incorporated
p-e622a1a2