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.4' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
ports: | |
- "80:80" | |
environment: | |
#192.168.65.2 is (usually) the docker host, discovered by checking which networks were reachable from a container |
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
# Example for a container with '/keycloak' in the name | |
docker logs -f $(docker ps | Select-String /keycloak | % { $_.ToString().Split(" ") | select -first 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
wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add - | |
echo 'deb http://debian.neo4j.org/repo stable/' | sudo tee -a /etc/apt/sources.list.d/neo4j.list | |
sudo apt-get update | |
sudo apt-get install neo4j=3.1.1 | |
sudo apt-mark hold neo4j |
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 | |
#Updates a keystore with lets encrypt cross signatures | |
[ $# -eq 0 ] && { echo "Usage: $0 <path to keystore>" ; exit 1; } | |
KEYSTORE=$1 | |
wget https://letsencrypt.org/certs/isrgrootx1.pem | |
wget https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.der |
NewerOlder