Skip to content

Instantly share code, notes, and snippets.

View teemow's full-sized avatar

Timo Derstappen teemow

View GitHub Profile

ambassador.service

[Service]
Type=notify
ExecStart=/bin/bash /home/core/ambassador.sh %n registry 5000
ExecStop=/usr/bin/docker stop %n
ExecStopPost=/usr/bin/docker rm %n
NotifyAccess=all

[Unit]
<?php
/**
* Cake database configuration for git repositories.
*
* It automatically detects the current working branch and uses the appropriate database connection.
* Fallback is given by the "default" entry.
*/
class DATABASE_CONFIG {
/**