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/sh | |
# | |
# | |
# | |
# Modifications are: | |
# * Remove authbind. | |
# * Remove JVM_TMP. We will use CATALINA_BASE/temp | |
# * Explicitly set JAVA_HOME. No need to figure out where it is. | |
# * Remove SECURITY. We are not using the Java security manager. | |
# * Remove references to DEFAULT. We have no defaults to use. |
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
/*eslint-disable no-var*/ | |
var path = require('path'); | |
var AureliaWebpackPlugin = require('aurelia-webpack-plugin'); | |
var ProvidePlugin = require('webpack/lib/ProvidePlugin'); | |
module.exports = { | |
devServer: { | |
host: 'localhost', | |
port: 3000, |
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.2' | |
services: | |
agent: | |
image: portainer/agent | |
environment: | |
# REQUIRED: Should be equal to the service name prefixed by "tasks." when | |
# deployed inside an overlay network | |
AGENT_CLUSTER_ADDR: tasks.agent | |
# AGENT_PORT: 9001 |
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
# www.fduran.com | |
# hardware stress test | |
# mismatched md5sums shows a faulty disk/RAM | |
# time depends on hardware, ex: 1 sec per 100 count | |
dd if=/dev/zero of=/tmp/test.file bs=1M count=1000 | |
for i in {1..5}; do md5sum /tmp/test.file; done |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dumber Gist</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css"> | |
<base href="/"> | |
</head> | |
<!-- |
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
swagger: "2.0" | |
info: | |
description: "This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters" | |
version: 1.0.0 | |
title: Swagger Petstore YAML | |
termsOfService: "http://swagger.io/terms/" | |
contact: | |
email: "apiteam@swagger.io" | |
license: | |
name: Apache 2.0 |
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: "2" | |
services: | |
elasticsearch: | |
image: "docker.elastic.co/elasticsearch/elasticsearch:7.16.0" | |
container_name: elasticsearch | |
environment: | |
- discovery.type=single-node | |
- cluster.routing.allocation.disk.threshold_enabled=true | |
- cluster.routing.allocation.disk.watermark.low=65% | |
- cluster.routing.allocation.disk.watermark.high=70% |
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
[elastic] | |
elastic_apm.enabled = true | |
;elastic_apm.api_key = "REPLACE_WITH_API_KEY" | |
elastic_apm.environment = "R_ENVIRONNEMENT" | |
elastic_apm.log_level = "INFO" | |
elastic_apm.log_level_stderr = "INFO" | |
elastic_apm.secret_token = "" | |
elastic_apm.server_timeout = "3s" | |
elastic_apm.server_url = "http://apm-server:8200" | |
elastic_apm.service_name = "php" |
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
ServerTokens Prod | |
ServerSignature Off | |
TraceEnable Off |
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 php:PHP_VERSION-apache | |
RUN apt-get update && apt-get install -y \ | |
vim \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libpng-dev \ | |
&& docker-php-ext-configure gd --with-freetype --with-jpeg | |
RUN /usr/local/bin/docker-php-ext-install -j$(nproc) gd mysqli pdo pdo_mysql |
OlderNewer