Skip to content

Easy Docker configs for a LEMP and LAMP stack (Linux + Nginx / Apache + MySQL + PHP), Golang, MySQL, PostgreSql and more.

License

Notifications You must be signed in to change notification settings

ribeirohugo/docker_startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Startup

This project will be used to store all startup configurations, files and documentation for start new docker containers.

1. LEMP stack startup

Startup configs for a LEMP stack: Linux + Nginx + MySQL + PHP + phpMyAdmin

Project paths:

Other configs:

  • URL: localhost:80
  • phpMyAdmin URL: localhost:8000
  • HTTP public directory: /var/www/public/

2. LAMP stack startup

Startup configs for a LEMP stack: Linux + Apache + MySQL + PHP + phpMyAdmin

Project paths:

Other configs:

  • URL: localhost:80
  • phpMyAdmin URL: localhost:8000
  • HTTP public directory: /var/www/public/
  • .conf file: /usr/local/apache2/conf/httpd.conf

2.1. To change

Don't to forget to define your MySQL root password and also change it in phpMyAdmin, in docker-compose.yml file.

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laraveluser
DB_PASSWORD=your_laravel_db_password

3. Golang

To mount a Golang container image just run docker-compose up command, in the following version directories available:

4. SQL Servers

In order to easily create SQL server through Docker, the following documentation provides basic guidelines and configurations.

5. Project Management

Docker allows deploying project management platforms locally:

6. Tracing

WSL Windows

Check the following tutorial to learn how to use WSL2 and Docker in Windows, without Docker Desktop: