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
Copy and update env
cp example.env .env
docker-compose up -d
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.
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