apt-get install snapd
snap install microk8s --classic --channel=1.18/stable
microk8s enable dns dashboard registry helm3 ingress storage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Onedrop\Common\Service; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Hans Höchtl <hhoechtl@1drop.de> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, config, ... }: | |
{ | |
certificates = [ | |
"shopware.dev" | |
]; | |
hosts."shopware.dev" = "127.0.0.1"; | |
packages = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy:live: | |
image: 1drop/docker:git | |
stage: deploy | |
when: manual | |
environment: | |
name: production | |
url: https://www.somecustomer.de | |
before_script: | |
- eval $(ssh-agent -s) | |
- ssh-add <(echo "$SSH_PRIVATE_KEY") |
I hereby claim:
- I am hhoechtl on github.
- I am htuscher (https://keybase.io/htuscher) on keybase.
- I have a public key ASDRch2Q2qmqSKqz12su02CIzIfFYSn_5x8r_VvngMNXgQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jboss/keycloak:15.0.2 | |
ENV KEYCLOAK_WELCOME_THEME=mytheme | |
ENV KEYCLOAK_DEFAULT_THEME=mytheme | |
COPY theme /opt/jboss/keycloak/themes/mytheme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('DB_NAME', 'wordpress'); | |
/** MySQL database username */ | |
define('DB_USER', 'dbuser'); | |
/** MySQL database password */ | |
define('DB_PASSWORD', 'dbpassword'); | |
/** MySQL hostname */ | |
define('DB_HOST', 'localhost'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
bin/console cache:clear | |
bin/console database:migrate --all | |
bin/console plugin:refresh | |
# Ensure plugins are installed and active | |
bin/console plugin:install --activate FroshPlatformMailArchive | |
bin/console plugin:install --activate FroshPlatformTemplateMail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy this file to /opt/docker/etc/supervisor.d/worker.conf | |
[group:worker] | |
programs=queue-worker | |
priority=25 | |
[program:queue-worker] | |
command = /app/bin/console messenger:consume default --time-limit=180 -vv | |
user = application | |
process_name=%(program_name)s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
namespace Shopware\Core\Framework\DataAbstractionLayer\Doctrine; | |
class FetchModeHelper | |
{ | |
/** | |
* User-land implementation of PDO::FETCH_KEY_PAIR | |
*/ | |
public static function keyPair(array $result): array |
NewerOlder