Skip to content

Instantly share code, notes, and snippets.

@knutole
knutole / docker-compose.yml
Created May 30, 2017 20:17 — forked from volkanunsal/docker-compose.yml
docker-postgis setup with streaming replication
master:
image: mdillon/postgis:9.3
ports:
- '5432:5432'
volumes:
- /import_data
- ./postgis/init-master.sh:/docker-entrypoint-initdb.d/init-master.sh
- ./postgis:/tmp/postgresql
restart: always
environment:

Keybase proof

I hereby claim:

  • I am knutole on github.
  • I am knutole (https://keybase.io/knutole) on keybase.
  • I have a public key ASBT74e3EQKj9uGxrw-yK_x32_G0AvYU0XFgX_M94FEqNgo

To claim this, I am signing this object:

@knutole
knutole / install-docker-ubuntu.sh
Last active November 7, 2018 16:48
Install Docker on Ubuntu
#!/bin/bash
# https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce
# Update the apt package index:
sudo apt-get update
# Install packages to allow apt to use a repository over HTTPS:
sudo apt-get install -y \
apt-transport-https \
ca-certificates \