Coder Social home page Coder Social logo

jturazzi / dev-stack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

A Docker Compose configuration for a development environment with PHP-Nginx, MySQL, Adminer, Mailpit, Portainer, and Traefik.

License: MIT License

PHP 100.00%
admirer docker mailpit nginx php portainer traefik development watchtower

dev-stack's Introduction

Docker

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.

Usage

  1. Clone this repository.
  2. Navigate to the directory.
  3. Modify environment variables if needed.
  4. Start Docker containers: docker-compose up -d.

Access services:

Note: DNS configuration is required on your DNS server or in the hosts file to reach the services.

Services

  • Web: PHP-Nginx.
  • Adminer: Database management.
  • DB: MySQL server.
  • Mailpit: Mail server monitoring.
  • Portainer: Docker management.
  • Traefik: Reverse proxy.
  • Watchtower: Automated container updates.

Configuration

  1. Copy the .env.example file and copy it to .env.
  2. Open the .env file in a text editor.
  3. 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).
  4. Save the .env file.

Contribution

We welcome community contributions. Fork, make changes, submit a pull request.

License

This project is licensed under the MIT License.

dev-stack's People

Contributors

jturazzi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.