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
version: '3.8' | |
services: | |
proxy: | |
image: traefik:v2.3 | |
logging: | |
driver: "json-file" | |
options: | |
max-file: "5" | |
max-size: "10m" | |
command: |
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
version: '3.8' | |
services: | |
proxy: | |
image: traefik:v2.3 | |
logging: | |
driver: "json-file" | |
options: | |
max-file: "5" | |
max-size: "10m" | |
command: |
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
version: "v1" | |
project: "my-first-project" | |
services: | |
frontend: | |
apache: | |
image: httpd | |
domain: "nyc.sloppy.zone" | |
ports: 80 | |
volumes: | |
- container_path: "/usr/local/apache2/htdocs" |
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
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: haproxy-controller | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: |
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
{ | |
"project": "dis", | |
"services": [ | |
{ | |
"id": "all", | |
"apps": [ | |
{ | |
"id": "db", | |
"image": "postgres", | |
"instances": 1, |
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
/* https://spectreattack.com/spectre.pdf */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
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 node:8-alpine as builder | |
WORKDIR /usr/src/app | |
COPY package.json package-lock.json ./ | |
RUN npm install --only=production --silent | |
COPY public public/ | |
COPY src src/ | |
COPY scripts scripts/ |
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
version: "v1" | |
project: "wordpress" | |
services: | |
frontend: | |
apache: | |
image: "wordpress:4.6.0" | |
instances: 1 | |
mem: 512 | |
domain: "$URI" | |
port: 80 |
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
#!/bin/bash | |
#enable job control in script | |
set -m | |
# when /etc/couchdb (contains i.g. admin account) was not allready moved to persistant storage, do it and symlink the org. directory | |
if [ ! -d /var/lib/couchdb/etc/couchdb ]; then | |
mkdir /var/lib/couchdb/etc | |
mv /etc/couchdb /var/lib/couchdb/etc/ | |
ln -s /var/lib/couchdb/etc/couchdb/ /etc/couchdb |
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
version: "v1" | |
project: "my-vapor-app" | |
services: | |
backend: | |
anidhere: | |
image: "anandk/ubuntu-vapor-mysql" | |
domain: "vaporapp.sloppy.zone" | |
port: 8080 | |
volumes: | |
- path: "/Users/anand/Desktop/db-demo" |
NewerOlder