Reproducing a Traefik with SSL and Portainer setup on a 2 Node Docker Swarm
Install Docker on both nodes with a Bootstrap Script:
$ curl https://gitlab.com/rbekker87/scripts/raw/master/setup-docker-ubuntu.sh | bash
<?php | |
declare(strict_types=1); | |
use PHPUnit\Framework\Constraint\Callback; | |
use PHPUnit\Framework\Constraint\Constraint; | |
use function array_column; | |
use function count; |
<?php | |
namespace Symfony\Component\DependencyInjection\Loader\Configurator; | |
use Symfony\Config\DoctrineConfig; | |
use Symfony\Config\FrameworkConfig; | |
return static function (DoctrineConfig $doctrine, ContainerConfigurator $container, FrameworkConfig $framework): void { | |
$dbal = $doctrine->dbal(); | |
$dbal->defaultConnection('default'); |
#!/usr/bin/env bash | |
# https://developer.apple.com/documentation/usernotifications/sending_push_notifications_using_command-line_tools#3694579 | |
TEAM_ID=Team ID | |
TOKEN_KEY_FILE_NAME=path to the private key file | |
AUTH_KEY_ID=your key identifier | |
TOPIC=App ID | |
DEVICE_TOKEN=device token for your app | |
APNS_HOST_NAME=api.sandbox.push.apple.com |
[xdebug] | |
zend_extension="xdebug.so" | |
xdebug.coverage_enable=1 | |
xdebug.default_enable=1 | |
xdebug.extended_info=1 | |
xdebug.file_link_format="phpstorm://open?file=%f&line=%l" | |
xdebug.max_nesting_level=256 | |
xdebug.scream=0 |
#!/bin/bash | |
daemonize () { "$@"& pid="$!"; trap "kill -INT $pid" INT TERM; while kill -0 $pid > /dev/null 2>&1; do wait $pid; ec="$?"; done; exit $ec;}; |
I hereby claim:
To claim this, I am signing this object:
/usr/libexec/PlistBuddy /var/db/locationd/clients.plist | |
killall -HUP locationd |
#!/bin/bash | |
XDEBUG_CONFIG="idekey=xdebug" php -dxdebug.remote_host=`echo $SSH_CLIENT | cut -d "=" -f 2 | awk '{print $1}'` "$@" |