Skip to content

This is web environment for webapps which running on PHP 7.2 with MySQL DB. Tested with Seotoaster CMS.

Notifications You must be signed in to change notification settings

Dionis-90/docker-web-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation & configuration

Install dependences

  1. Install Docker using instructions - https://docs.docker.com/install/
  2. Install Docker-compose using instructions - https://docs.docker.com/compose/install/
  3. Put your webbapp to 'app/' .
  4. Put your 'db-dump.sql' to 'mysql/' and uncomment appropriate string in 'mysql/Dockerfile' if required.
  5. Create Nginx vhost-config in 'nginx/confs/' using as an exaple '001-default.conf'.

Run environment

sudo docker-compose up --build

or

sudo docker-compose up -d --build

You can see or edit port forwarding (local-net. <-> docker-net.) in docker-compose.yml

About

This is web environment for webapps which running on PHP 7.2 with MySQL DB. Tested with Seotoaster CMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published