- Download and make it executable
wget https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64
sudo cp MailHog_linux_amd64 /usr/local/bin/mailhog
sudo chmod +x /usr/local/bin/mailhog
- Make MailHog as a service
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
k8s-app: kube-proxy | |
name: kube-proxy-amd64 | |
namespace: kube-system | |
spec: | |
revisionHistoryLimit: 10 | |
selector: |
from flask import Flask | |
from flask import request | |
import requests | |
from jaeger_client import Config | |
from flask_opentracing import FlaskTracer | |
import opentracing | |
app = Flask(__name__) |
--- | |
- hosts: all | |
tasks: | |
- name: Install prerequisites for Docker repository | |
apt: | |
name: ['apt-transport-https', 'ca-certificates', 'curl', 'gnupg2', 'software-properties-common'] | |
update_cache: yes | |
- name: Add Docker GPG key | |
apt_key: |
version: "2" | |
services: | |
db: | |
image: mariadb | |
environment: | |
- MYSQL_ROOT_PASSWORD=test | |
- MYSQL_DATABASE=radio | |
volumes: | |
- ./database:/var/lib/mysql | |
phpmyadmin: |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
/** | |
* Password reset on sub site (1 of 4) | |
* Replace login page "Lost Password?" urls. | |
* | |
* @param string $lostpassword_url The URL for retrieving a lost password. | |
* @param string $redirect The path to redirect to. | |
* | |
* @return string | |
* | |
* @since 1.0.0 |