- Run
docker-compose up
to bring up the two containers (Confluence and MySQL). - Navigate to http://192.168.99.100:8090/ (replace the IP with the correct IP of your Docker Machine).
- Choose "Production Installation" and click the Next button.
- Click the Next button on the Add-ons screen.
- Add your license key and click Next.
- Choose "MySQL" and then click the External Database button.
- Click the Direct JDBC button.
- Change
localhost
tomysql
in the Database URL, set User name toconfluence
, Password tomyconfluencepass
, and click Next.
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 gliderlabs/alpine:3.3 | |
COPY myawesomescript /bin/myawesomescript | |
COPY root /var/spool/cron/crontabs/root | |
RUN chmod +x /bin/myawesomescript | |
CMD crond -l 2 -f |
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
{ | |
"require": { | |
"mfacenet/hello-world": "v1.*" | |
} | |
} |
$ terraform workspace new staging
Created and switched to workspace "staging"!
You're now on a new, empty workspace. Workspaces isolate their state,
so if you run "terraform plan" Terraform will not see any existing state
for this configuration.
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 flask import Flask, request, send_file, jsonify | |
import hashlib | |
import requests | |
import json | |
from PIL import Image | |
from io import BytesIO | |
from geolite2 import geolite2 | |
app = Flask(__name__) |
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 ruby:2.3-onbuild | |
VOLUME /opt/postal/config | |
ENV LOG_TO_STDOUT 1 | |
ENV AM_CONFIG_ROOT /opt/postal/config | |
RUN gem install procodile | |
RUN apt-get update -qq && apt-get install -yqq nodejs |
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
import os | |
import yaml | |
from ansible.parsing.vault import VaultLib, VaultSecret | |
from ruamel.yaml import YAML | |
from ruamel.yaml.scalarstring import LiteralScalarString | |
def custom_literal_presenter(dumper, data): | |
return dumper.represent_scalar('tag:yaml.org,2002:str', data, style='|') |
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 time import sleep | |
import board | |
import neopixel | |
from adafruit_pixel_framebuf import PixelFramebuffer | |
from pumpkin import pumpkins_tileset_data, pumpkin_palette | |
pixel_pin = board.D10 | |
pixel_width = 16 | |
pixel_height = 16 |
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
# [include Macros.cfg] # You have to copy it /home/pi/klipper_config https://www.klipper3d.org/Config_Reference.html#include | |
# [include client_macros.cfg] # These macros are required for Fluidd to correctly function. | |
# This is a Klipper configuration for Qidi X-Max, with | |
# V4.6 motherboard. with the cooperation of Funkton and oaba200 | |
# instruction https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Reference.md | |
[mcu] | |
restart_method: command | |
serial: /dev/ttyS0 |
Let's use Terraform to easily get a CoreOS cluster up on Digital Ocean. In this example we will get a 5 node CoreOS cluster up and running on the Digital Ocean 8GB size.
Grab a copy of Terraform for your platform from http://www.terraform.io/downloads.html. Follow the instructions at http://www.terraform.io/intro/getting-started/install.html by getting Terraform in your PATH
and testing that it works.
NewerOlder