Tipscorner

Tipps und Tricks für verschiedene Dinge im Leben

Archive for the ‘Uncategorized’ Category

How to install Sentry on Google Cloud Platform with Nginx as proxy

leave a comment »


Running on Debian 3.16.0-4-amd64 on Google Cloud Platform

Install Docker

https://docs.docker.com/engine/installation/linux/debian/

Install docker-compose

https://docs.docker.com/compose/install/

Install Sentry

You reach your fresh installed Sentry under

http://localhost:9000

 

Sentry, SSL and Nginx

If you’re using SSL, you’ll also need to set the following in sentry.conf.py:

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

Written by MrT

Juli 5, 2017 at 12:04

Veröffentlicht in Uncategorized

Ansible and MacOS

leave a comment »


As of 2.0 ansible uses a few more file handles to manage its forks, OS X has a very low setting so if you want to use 15 or more forks you’ll need to raise the ulimit, like so

sudo launchctl limit maxfiles 1024 unlimited.

Or just any time you see a “Too many open files” error.

Source: http://docs.ansible.com/ansible/intro_installation.html

Written by MrT

Januar 30, 2016 at 16:38

Veröffentlicht in Uncategorized

wichtige Befehle für Docker (Spickzettel)

leave a comment »


Stop all docker containers:

$ docker stop $(docker ps -a -q)
remove all container
$ docker rm -v $(docker ps -a -q)

	

Written by MrT

Januar 29, 2016 at 18:29

Veröffentlicht in Uncategorized