Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 days 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: 2024-12-28T16:35:53.000Z (about 1 month ago)
- Last Synced: 2025-01-21T02:02:24.122Z (10 days ago)
- Topics: bedrock, directus, docker, docker-compose, docker-env, docker-environment, elasticsearch, environment, local-development, next-js, wordpress
- Language: Shell
- Homepage:
- Size: 3.13 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
| | ![WordPress](https://img.shields.io/badge/wordpress-blue?style=for-the-badge&logo=wordpress&logoColor=white) | ![bedrock](https://img.shields.io/badge/bedrock-525ddc?style=for-the-badge&logo=roots&logoColor=white) | ![php](https://img.shields.io/badge/PHP-777BB4?style=for-the-badge&logo=php&logoColor=white) | ![next.js](https://img.shields.io/badge/next.js-white?style=for-the-badge&logo=nextdotjs&logoColor=black) | ![directus](https://img.shields.io/badge/directus-%2364f.svg?style=for-the-badge&logo=directus&logoColor=black) |
|---|---|---|---|---|---|
| ![MariaDB](https://img.shields.io/badge/MariaDB-003545?style=for-the-badge&logo=mariadb&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | |
| ![php](https://img.shields.io/badge/PHP-777BB4?style=for-the-badge&logo=php&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | |
| ![Mailhog](https://img.shields.io/badge/Mailhog-D14836?style=for-the-badge&logo=gmail&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | | |
| ![phpMyAdmin](https://img.shields.io/badge/phpMyAdmin-59666C?style=for-the-badge&logo=phpMyAdmin&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | | |
| ![Adminer](https://img.shields.io/badge/Adminer-02569B?style=for-the-badge&logo=Adminer&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | | |
| ![node.js](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white) | | | | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) |
| ![PostgreSQL](https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge&logo=postgresql&logoColor=white) | | | | | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) |
| ![pgAdmin](https://img.shields.io/badge/pgAdmin-593D88?style=for-the-badge&logo=Adminer&logoColor=white) | | | | | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) |
| ![Composer](https://img.shields.io/badge/Composer-1abc9c?style=for-the-badge&logo=Composer&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | | |
| ![Multisite](https://img.shields.io/badge/Multisite-18BFFF?style=for-the-badge&logo=Multisite&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | | | |
| ![Logs](https://img.shields.io/badge/Logs-A4373A?style=for-the-badge&logo=logs&logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | ![plus](https://img.shields.io/badge/+-blue?style=for-the-badge&logo=''logoColor=white) | | | |
# 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/)