This is just a base image for a project that require
- Ubuntu
- php7.4-fpm
- nginx
- mysql
Personally for my own use case
Github Repo : https://github.com/gaibz/docker-ubuntu-20-php7.4fpm-nginx-mariadb
Docker Repo : https://hub.docker.com/repository/docker/gaibz/ubuntu20-php7.4-nginx-mariadb
gaibz/docker-ubuntu-20-php7.4fpm-nginx-mariadb:latest
/etc/nginx/sites-enabled/*
default php-fpm is listen on 127.0.0.1:9000
fpm pool
/etc/php/7.4/fpm/pool.d/www.conf
fpm ini
/etc/php/7.4/fpm/php.ini
there is so much reason why I prefer Mariadb over Mysql. So let me be my self;
/etc/mariadb.conf.d/50-server.cnf
/var/www/app
80/tcp (Nginx)
3306/tcp (MariaDB/MySQl)