AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Postgres app engine php 7.24/7/2023 ![]() ![]() conf on the same level as the docker-compose. ![]() The next step is to let Nginx know that this folder exists. I will use a folder called code, which is in the same directory as my docker-compose.yml file, and it will be mounted as root folder code in the container. First we have to update the docker-compose.yml to mount a local directory. Now that we have a server let’s add some code. This should give you the default Nginx screen on port 8080 for localhost or the IP of your docker machine. Since we’ll be using Docker Compose, we will create the following docker-compose.yml file, which will run the latest Nginx image and will expose its port 80 to port 8080: web: We’ll start by getting ourselves a web server and based on our requirements this will be a container running the official Nginx image. Now that we know what we want to achieve and have the tools to accomplish it – let’s get our hands dirty! Setting up Nginx Add support for Postgres 13 Add provisional support for Postgres 14 Upgrade Jquery library to 3.4.1 (Nirgal) Allow users to see group owned databases when using owned only Fix bug where sorting on selects dumped you to the table screen (MichaMEG) Note this release drops support for PHP 7.1, and will be the last release to support PHP 7.2. The second prerequisite is getting Docker Compose (it is included in the Mac toolbox). The first thing you have to do is, of course, install Docker (if you haven’t already). There are several docker repositories combining PHP-FPM with Nginx, but depending on the official repositories gives you several benefits, like using a service which is configured by its maintainers and you can always choose between the latest and greatest or different versions of both services, instead of relying on someone else’s choices. The goal that we will try to achieve is to run a simple PHP application using the official Docker repositories for both PHP and Nginx. ![]() Because who wants the trouble of installing all the dependencies on their local environment or manage a number of virtual machines for their different projects, right? Right! Since you keep reading, I will assume that you already have some Docker experience and you want to run your PHP applications in containers. Before we start, we have to agree on one thing – Docker is super cool! If you are not familiar with Docker, I suggest to have a look at the tons of “Getting starting with Docker” or “What is Docker?” articles and then come back here. ![]()
0 Comments
Read More
Leave a Reply. |