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 | |
| # This cleans out absolutely EVERYTHING, unlike `docker system prune` | |
| # Stop all running containers | |
| docker stop $(docker ps -a -q) | |
| # Delete all containers | |
| docker rm $(docker ps -a -q) |
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
| import bjoern | |
| import os, signal | |
| from django.core.wsgi import get_wsgi_application | |
| os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'app.settings') | |
| app = get_wsgi_application() | |
| NUM_WORKERS = 8 |
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.3' | |
| services: | |
| elasticsearch1: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0 | |
| environment: | |
| ES_JAVA_OPTS: '-Xms256m -Xmx256m' | |
| cluster.name: es-cluster | |
| node.name: es1 | |
| network.bind_host: 0.0.0.0 | |
| discovery.zen.minimum_master_nodes: 1 |
OlderNewer