Git Product home page Git Product logo

local-env's Introduction

This repo was created for managing local development services for and Laravel and Node.js. See this link for the inspiration for using Nginx Proxy Manager as the reverse proxy.

Requirements:

  • Docker
  • Docker Compose
  • openssl (for generating self signed certs)

Services:

  • Nginx Proxy Manager
  • mysql
  • adminer
  • memcached
  • redis

Usage

Copy and update env

cp example.env .env
docker-compose up -d

Nginx Proxy Manager

Default Login

Email: [email protected] Password: changeme

Note:

  • Added proxy hosts should also be configured in host file
  • If having problems with new Proxy Hosts and Docker is installed, use host.docker.internal as the forward hostname/IP.

SSL Certificates

The ssl/crt.sh script allows easily creating SSL self-issued SSL certificates.

Generated certificates should be added to your browser's Trusted Root Certification Authorities and to the Proxy Manager.

Usage:

cd ssl

Create a new configuration (e.g. my-domain.conf) and run the script

cp my-domain-example.conf my-domain.conf

Update the configuration and run the script:

./crt.sh my-domain

For details on the script, run:

./crt.sh help

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.