Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Description of the docker

This docker has three containers:

  1. One for the database (db).
  2. One for the apache server (httpd).
  3. One for a phpmyadmin app.

Steps to get up and running this app.

  1. Go to the project root foler.
  2. Rename .env-example to .env or create a new one.
  3. Modify .env file with custom params for docker containers.
  4. Execute: make up.

Useful things

  • To access any container you can run: make shell-<container_name> For example: make shell-apache for httpd bash.
  • Website can be seen on http://localhost: Port selected on HTTPD_PORT.
  • Phpmyadmin can be seen on http://localhost: Port selected on PHPMYADMIN_PORT.
  • To run any website only create a directory called src and place your code there.
  • For a complete list of commands just execute make help.

Acknowledgment

Thanks to @oilegor1029 for the Makefile idea to initialize dockers.

About

Basic docker project to build a website

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages