Oracle Cloud Provides Always Free Cloud Instance with WordPress Integration
The great news of the Cloud Provides an always free cloud instance recently. Now I had been played around and enjoyed the feeling of using Oracle Cloud service. They always come with some great features and free 30 days trial if you don't like it.
If you want to learn about how to set up a new Oracle instance, you can reference my last article.
Oracle Cloud Provides Always Free Cloud Instance
For most developers, this is a great chance for practicing cloud technology. For what official website mentioned, you…
It steps you through everything you need for
docker-compose of setting up the docker and installs all the basic requirements. However, today I will teach you how to set up WordPress and also including
Nginx for it.
First of all, make sure you have
docker-compose installed because it is better to write compose
yaml files rather than typing commands each time.
From this file, it created three containers,
wordpress , and
mysql . Those are the latest and greatest image for docker containers.
Next step you will need to create two folders under the root level.
mkdir nginx/ && cd nginx/
mkdir conf.d/touch wp_ssl.conftouch nginx.conf
For nginx.conf, you just need to have a basic configuration so that you know where your server will go. If you want a sample, copy the one below with an official provide.
Therefore, you will need to have your domain pointing to the Oracle Server in order to run your web server in
HTTPS . If you do not want to use
HTTPS . You can just let the server listen to 80
Now the next step is to point your server to correct ports. By default WordPress using 8080 for the docker ports. See details:
Now it is time to test out the domain then.