This setup provides a development environment with multiple services including a web server, database, adminer, mail server monitoring tool, portainer, and Traefik for reverse proxy.
- Clone this repository.
- Navigate to the directory.
- Modify environment variables if needed.
- Start Docker containers:
docker-compose up -d
.
Access services:
- Web server: http://localhost
- Adminer: http://adminer.local
- Mailpit: http://mailpit.local
- Portainer: http://portainer.local
Note: DNS configuration is required on your DNS server or in the hosts file to reach the services.
- Web: PHP-Nginx.
- Adminer: Database management.
- DB: MySQL server.
- Mailpit: Mail server monitoring.
- Portainer: Docker management.
- Traefik: Reverse proxy.
- Watchtower: Automated container updates.
- Copy the
.env.example
file and copy it to.env
. - Open the
.env
file in a text editor. - Modify the environment variables as needed. Here are the available variables:
TZ
: Set the timezone (default: Europe/Paris).MYSQL_ROOT_PASSWORD
: Set the MySQL root password (default: root).DEV_DOMAIN
: Set the domain for local development (default: local).
- Save the
.env
file.
We welcome community contributions. Fork, make changes, submit a pull request.
This project is licensed under the MIT License.