An open API service indexing awesome lists of open source software.

https://github.com/ribeirohugo/docker_startup

Easy Docker configs for a LEMP and LAMP stack (Linux + Nginx / Apache + MySQL + PHP), Golang, MySQL, PostgreSql and more.
https://github.com/ribeirohugo/docker_startup

apache containers docker docker-startup dockerfiles golang lamp lemp linux mysql mysql-php-phpmyadmin nginx php startup-configs xdebug

Last synced: 11 days ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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**:
- [Lemp . PHP 7.3-fpm](/lemp/php7.3-fpm)
- [Lemp . PHP 7.4-fpm](/lemp/php7.4-fpm)
- [Lemp . PHP 8.0-fpm](/lemp/php8.0-fpm)
- [Lemp . PHP 7.4-fpm . w/ Xdebug enabled](/lemp/php7.4-fpm-xdebug)

**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**:
- [Lamp . PHP 7.3-fpm](/lamp/php7.3-fpm)
- [Lamp . PHP 7.4-fpm](/lamp/php7.4-fpm)
- [Lamp . PHP 8.0-fpm](/lamp/php8.0-fpm)

**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.

```bash
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:

- [Golang 1.15](golang/golang1.15)
- [Golang 1.16](golang/golang1.16)

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

- [MySQL](mysql)
- [MS SQL](mssql)
- [PostgreSQL](postgresql)

## 5. Project Management
Docker allows deploying project management platforms locally:

- [Jira](jira)

## 6. Monitoring and Tracing

- [Grafana](grafana)
- [Jaeger Tracing](jaeger-tracing)
- [Grafana+Loki+Tempo+Prometheus](grafana+loki+tempo+prometheus)

## WSL Windows

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

- [WSL2+Docker](WSL.md)