This file contains hidden or 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" | |
| services: | |
| concourse-db: | |
| image: postgres:9.5 | |
| environment: | |
| - POSTGRES_DB=concourse | |
| - POSTGRES_USER=concourse | |
| - POSTGRES_PASSWORD=changeme | |
| - PGDATA=/database |
This file contains hidden or 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 | |
| set -e | |
| if [[ -n "${DEBUG}" ]]; then | |
| set -x | |
| fi | |
| # Exec something.... |
This file contains hidden or 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: ReplicationController | |
| metadata: | |
| name: pma | |
| spec: | |
| replicas: 1 | |
| template: | |
| metadata: | |
| labels: | |
| name: pma |
This file contains hidden or 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
| vcl 4.0; | |
| ... | |
| sub vcl_recv { | |
| ... | |
| # Protecting against the HTTPOXY CGI vulnerability. | |
| unset req.http.proxy; |
This file contains hidden or 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
| server { | |
| server_name SERVER_NAME; | |
| listen 80; | |
| root /var/www/html/; | |
| index index.php; | |
| fastcgi_keep_conn on; | |
| fastcgi_index index.php; | |
| fastcgi_param QUERY_STRING $query_string; |
This file contains hidden or 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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains hidden or 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 | |
| function countContainers() { | |
| docker ps -q $1 | wc -l | |
| } | |
| function countCrashedContainers() { | |
| docker ps -a | grep -v -F 'Exited (0)' | grep -c -F 'Exited (' | |
| } |
This file contains hidden or 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
| /srv/app # php -m | |
| [PHP Modules] | |
| bcmath | |
| bz2 | |
| calendar | |
| Core | |
| ctype | |
| curl | |
| date | |
| dom |
This file contains hidden or 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 | |
| curl -L "https://raw.githubusercontent.com/bitnami/bitnami-docker-laravel/master/docker-compose.yml" > docker-compose.yml |
This file contains hidden or 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://github.com/wikimedia/mediawiki-containers/blob/master/mediawiki-containers | |
| if [ -z "$MEDIAWIKI_ADMIN_PASS" ];then | |
| MEDIAWIKI_ADMIN_PASS=$(</dev/urandom tr -dc A-Za-z0-9 | head -c8) | |
| fi |
NewerOlder