Skip to content

It's the template for a regular PHP project environment. It's consist of Nginx, Postgres, and Php-fpm. Everything of these services run in docker and described by the docker-compose file.

Notifications You must be signed in to change notification settings

w1ldzer0/nginx-php-postgres-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Docker-compose for regular php app It's working base template for apps used NGINX php-fpm and postgres.

Versions:

  • Nginx - latest
  • PHP - 7.4
  • PostgreSQL - 12

All backend sources need to store in subdir backend.

Running

cp .env.example .env

Change environment variables and up docker-compose

docker-compose up -d

After that your project will be able in http://localhost:${INCOME_PORT}}

About

It's the template for a regular PHP project environment. It's consist of Nginx, Postgres, and Php-fpm. Everything of these services run in docker and described by the docker-compose file.

Topics

Resources

Stars

Watchers

Forks