Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Initial commit

Initial commit of code forked from https://github.com/UFHealth/ouroboros
  • Loading branch information
Chris Wiegman
Chris Wiegman committed Oct 2, 2018
0 parents commit 385207e5aa196b99bf748dabb662d8d94f6097cf
Showing with 694 additions and 0 deletions.
  1. +304 −0 .gitignore
  2. +59 −0 README.md
  3. +28 −0 conf/test.crt
  4. +26 −0 conf/test.csr
  5. +51 −0 conf/test.key
  6. +160 −0 conf/traefik.toml
  7. +7 −0 develop
  8. +59 −0 docker-compose.yml
@@ -0,0 +1,304 @@
# Created by .ignore support plugin (hsz.mobi)
### WordPress template
*.log
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/mu-plugins/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php

/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz

### VisualStudioCode template
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### NetBeans template
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/
### Linux template
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### Laravel template
vendor/
node_modules/
npm-debug.log

# Laravel 4 specific
bootstrap/compiled.php
app/storage/

# Laravel 5 & Lumen specific
public/storage
public/hot
storage/*.key
.env.*.php
.env.php
.env
Homestead.yaml
Homestead.json

# Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer
.rocketeer/
### Drupal template
# Ignore configuration files that may contain sensitive information.
sites/*/*settings*.php
sites/example.sites.php

# Ignore paths that contain generated content.
files/
sites/*/files
sites/*/private
sites/*/translations

# Ignore default text files
robots.txt
/CHANGELOG.txt
/COPYRIGHT.txt
/INSTALL*.txt
/LICENSE.txt
/MAINTAINERS.txt
/UPGRADE.txt
/README.txt
sites/README.txt
sites/all/libraries/README.txt
sites/all/modules/README.txt
sites/all/themes/README.txt

# Ignore everything but the "sites" folder ( for non core developer )
.htaccess
web.config
authorize.php
cron.php
index.php
install.php
update.php
xmlrpc.php
/includes
/misc
/modules
/profiles
/scripts
/themes
### Windows template
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
.idea/

# CMake
cmake-build-debug/
cmake-build-release/

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next
### Eclipse template

.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# CDT- autotools
.autotools

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
### macOS template
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

@@ -0,0 +1,59 @@
Ouroboros
=====

A tool to make Docker-based development easier across multiple projects.

# Features

Ouroboros provides a small proxy that will allow you to use multiple Docker projects at once. In addition, it provides both [MailCatcher](https://mailcatcher.me/) and [Webgrind](https://github.com/jokkedk/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](https://github.com/interconnectit/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).

## Setting up DNS on Mac

For Mac we can use the `.test` top-level domain via [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html) and [resolver](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man5/resolver.5.html).

```
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 `.test` resolver:

```
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](https://traefik.io/) proxy


# Usage

## Launching Ouroboros

Instead of `docker-compose up -d` use `./develop up -d`. This will create a network called `ouroboros_default` which will make linking from other projects easier.

## Accessing MailCatcher

To access MailCatcher simply point your browser to [http://mailcatcher.test]

## Accessing Webgrind

To access Webgrind simply point your browser to [http://webgrind.test]

## Accessing Search-Replace DB

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.

## Access the Traefik dashboard

Traefik offers a great dashboard to help you visualize your sites. You can access it at [http://traefik.test:8080/dashboard/]

# Changelog

##### 1.1
* Add search-replce db

##### 1.0
* Initial Release
@@ -0,0 +1,28 @@
-----BEGIN CERTIFICATE-----
MIIEuDCCAqACCQDw7YwntYIiSTANBgkqhkiG9w0BAQsFADAeMQ0wCwYDVQQKDARB
Q01FMQ0wCwYDVQQDDAR0ZXN0MB4XDTE4MDUxNjE3NDY1NloXDTI4MDUxMzE3NDY1
NlowHjENMAsGA1UECgwEQUNNRTENMAsGA1UEAwwEdGVzdDCCAiIwDQYJKoZIhvcN
AQEBBQADggIPADCCAgoCggIBALzARQfixaLk9y1bTz4ECpESSk5lbd7WpMXC/Tg+
Klau2yhgCOQ3HkXuX5O2WsEcTGjKXRrZMdgGmJthouc90ZM0z/wednU1v7yfWoTG
7wP1BiuxqV0sV/2JhmGpRSBuPfk4UjA6YiXxLipZtiD5w0T7BW3TDnJhAZB3i3v+
E+Wu1CDEmAxsNmw7Z2KVtaaVzoN6MY2c7MsYkJRyF2cPX+Plgg5MnjEdkzIuIO8+
+sM0mRJoFyBhaHmfooM3yj2TCtZXSadxc2xezyoaafDb30ybVJqHZ/k3cQK3Ybyd
Dbq3BMDWh3zMkKvqswRbgKA/dJylS1IMxtHvXyNNXj2OUQiJjEs4KpX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ATE-----

0 comments on commit 385207e

Please sign in to comment.
You can’t perform that action at this time.