Confirgure for new project name
Configures for the new "Primary Docker" project name.
|11 months ago|
|conf||11 months ago|
|.gitignore||11 months ago|
|README.md||11 months ago|
|develop||11 months ago|
|docker-compose.yml||11 months ago|
A tool to make Docker-based development easier across multiple projects.
This project is a fork of a configuration I built for UF Health at https://github.com/UFHealth/ouroboros.
Primary Docker provides a small proxy that will allow you to use multiple Docker projects at once. In addition, it provides both MailCatcher and Webgrind to help troubleshoot email issues (and prevent erroneous emails from being sent to customers) as well as to help profile performance and other issues with your PHP applications. Finally, it also contains Search-replace DB to make working with databases even easier.
Think of it as a hub to allow you to develop in multiple projects on your machine at the same time (something that isn’t really possible with Docker alone).
brew install dnsmasq echo 'address=/.test/127.0.0.1' > /usr/local/etc/dnsmasq.conf sudo brew services start dnsmasq
Check to make sure you have the directory
/etc/resolver. If not, create it
sudo mkdir /etc/resolver. Then you can add your
sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/test'
This will allow anything with a .test domain to point to the Traefik proxy
docker-compose up -d use
./develop up -d. This will create a network called
primarydocker_default which will make linking from other projects easier.
To access MailCatcher simply point your browser to [http://mailcatcher.test]
To access Webgrind simply point your browser to [http://webgrind.test]
To access Search-replace DB simply point your browser to [http://srdb.test]. Note you will need to make the database you want to work on accessible to the outside network before this will work.
Traefik offers a great dashboard to help you visualize your sites. You can access it at [http://traefik.test:8080/dashboard/]