8000 GitHub - holysatan84/php8-nginx-mysql-docker: Minimal PHP8 | Nginx | MySQL boilerplate for local dev using Docker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

holysatan84/php8-nginx-mysql-docker

8000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A quick php8 Nginx & MySQL instance for local dev using Docker

This is a php8 Nginx & MySQL instance for local dev using Docker

  • Create the docker network by running docker network create app_main_network

  • docker-compose -f _docker/docker-compose.yml up -d --force-recreate

    Starts the container

    • php-app
    • nginx-web
    • mysql-db
  • Add the following entry to host file 127.0.0.1 php.local mysql.local

  • Browse http://php.local

  • mysql settings
    • host: mysql.local
    • db name: mydb
    • db username: db_admin
    • db password: devmysql
    • db port: 31003

See Dockerfile and docker-compose.yml for configuration details.

About

Minimal PHP8 | Nginx | MySQL boilerplate for local dev using Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0