I hereby claim:
- I am adriagalin on github.
- I am adriagalin (https://keybase.io/adriagalin) on keybase.
- I have a public key whose fingerprint is ED0B 6942 CD1C 615E 6B8E 1995 9EC7 7FFF 6BC8 7524
To claim this, I am signing this object:
| server { | |
| listen 80; | |
| server_name localhost; | |
| #charset koi8-r; | |
| #access_log /var/log/nginx/host.access.log main; | |
| location / { | |
| root /usr/share/nginx/html; | |
| index index.html index.htm; |
I hereby claim:
To claim this, I am signing this object:
| # Builder stage | |
| FROM golang:1.9 AS builder | |
| LABEL MAINTAINER "Team Name <[email protected]>" | |
| # Install tools required to build the project | |
| RUN go get github.com/golang/dep/cmd/dep | |
| # Add ssh key to clone private repos | |
| ARG SSH_PRIVATE_KEY | |
| COPY ${SSH_PRIVATE_KEY} /root/.ssh/id_rsa |
| #!/bin/bash | |
| GARBAGE="/var/lib/docker/aufs/diff" | |
| du -hd 1 $GARBAGE | sort -hrk 1 | head -25 | |
| find $GARBAGE -maxdepth 1 -name *-removing -exec rm -rf '{}' \; |
Note: I'm using RVM as my ruby version manager, also yo could use rbenv
ruby -vrvm install ruby --latest OR rvm install ruby 2.5.0WAL-E needs to be installed on all machines, masters and slaves.
Only one machine, the master, writes WAL segments via continuous archiving. The configuration for the master postgresql.conf is:
archive_mode = on
archive_command = 'envdir /etc/wal-e.d/env wal-e wal-push %p'
archive_timeout = 60
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| require 'fileutils' | |
| start_time = Time.now | |
| SOURCE_DB = { | |
| :name => 'db_name', | |
| :user => 'db_user', | |
| :password => 'db_pass', | |
| :host => 'localhost' |