Skip to content

SerhiiMazurBeetroot/docker-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-env

Local Docker Environment

nginx-proxy mkcert dozzle

Cross-platform compatible

Linux macos Windows

Automatic installation of projects

WordPress bedrock PHP nextjs directus

Additional services

elasticsearch


Requirements

  1. Install Docker v20.10+ for your platform:

  2. For Linux additionally install Docker Compose v1.29+


Key Features

  • Nginx-proxy

    Automated Nginx reverse proxy for Docker containers, enabling seamless routing and management of services.

  • Mkcert

    Allows the creation/renewal of self-signed certificate with a root certificate authority.

  • Dozzle

    A lightweight log viewer accessible directly in your browser, designed for real-time inspection of container logs.

  • MailHog

    A web-based email testing tool that captures all outgoing emails, allowing you to view and debug them easily.


Projects Features

WordPress bedrock php next.js directus
MariaDB plus plus
php plus plus plus
Mailhog plus
phpMyAdmin plus
Adminer plus
node.js plus
PostgreSQL plus
pgAdmin plus
Composer plus plus
Multisite plus
Logs plus plus

Step-by-Step Tutorial

If you're new to this environment, start by navigating to the environment directory and run the following command:

./setup.sh


After this, restart the environment to activate the docker-env alias.

Next time, you can run the command from any directory:


docker-env

docker-env
1 Running an Nginx Server
2.1 Create new project Wordpress
2.2 Create new project Bedrock
2.3 Create new project PHP-Server
2.4 Create new Next.js

Links

  1. Docker best practices

Related projects

  1. Nginx-proxy

  2. Mkcert-for-nginx-proxy

  3. Dozzle