https://github.com/serhiimazurbeetroot/docker-env
Local Docker Environment
https://github.com/serhiimazurbeetroot/docker-env
bedrock directus docker docker-compose docker-env docker-environment elasticsearch environment local-development next-js wordpress
Last synced: 2 months ago
JSON representation
Local Docker Environment
- Host: GitHub
- URL: https://github.com/serhiimazurbeetroot/docker-env
- Owner: SerhiiMazurBeetroot
- License: mit
- Created: 2021-10-27T11:58:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T17:00:17.000Z (4 months ago)
- Last Synced: 2025-03-31T23:51:20.287Z (4 months ago)
- Topics: bedrock, directus, docker, docker-compose, docker-env, docker-environment, elasticsearch, environment, local-development, next-js, wordpress
- Language: Shell
- Homepage:
- Size: 3.14 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Local Docker Environment
![]()
![]()
![]()
## Cross-platform compatible
![]()
![]()
![]()
## Automatic installation of projects
![]()
![]()
![]()
![]()
## Additional services
![]()
# Requirements
1. Install Docker v20.10+ for your platform:
- [Linux](https://docs.docker.com/engine/installation)
- [Docker for Mac](https://docs.docker.com/engine/installation/mac)
- [Docker for Windows](https://docs.docker.com/engine/installation/windows)2. For Linux additionally install [Docker Compose](https://docs.docker.com/compose/install) 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](http://localhost:7007), 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
| |  |  |  |  |  |
|---|---|---|---|---|---|
|  |  |  | | |
|  |  |  |  | |
|  |  | | | |
|  |  | | | |
|  |  | | | |
|  | | | |  |
|  | | | | |  |
|  | | | | |  |
|  |  |  | | | |
|  |  | | | | |
|  |  |  | | | |
# Step-by-Step Tutorial
If you're new to this environment, start by navigating to the environment directory and run the following command:
```bash
./setup.sh
```
After this, restart the environment to activate the `docker-env` alias.
Next time, you can run the command from any directory:
```bash
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
# [FAQ](./.env-core/docs/6-doc.MD#6-how-to)
## Links
1. [Docker best practices](https://docs.docker.com/build/building/best-practices/)
## Related projects
1. [Nginx-proxy](https://hub.docker.com/r/jwilder/nginx-proxy)
2. [Mkcert-for-nginx-proxy](https://github.com/aegypius/mkcert-for-nginx-proxy)
3. [Dozzle](https://dozzle.dev/)