Skip to content

fadilxcoder/docker-env

master-apache
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 2 commits ahead, 2 commits behind master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
www
 
 
 
 
 
 

APACHE / PHP-FPM / PHPMYADMIN

  • PHP Extension installer : https://github.com/mlocati/docker-php-extension-installer
  • To verify if extension is present, use command : php -m|grep mysql for example - checking mysql
  • BUILD : docker-compose up --build
  • UP with no logs : docker-compose up -d
  • Connect to App Terminal : docker exec -it fx_php_fpm ash
  • Verify if container is UP : docker ps
  • You might need to create data folder in docker/database

URLS

  • PHPMYADMIN URL : http://localhost:8000/
  • APP URL : http://localhost:8881/

DB CONNECTION (PMA)

  • Server : database
  • Username : myuser
  • Password : secret

About

Docker Environment Configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published