I thought I would document my setup, since it's somewhat non-standard but working quite well for me.
- Install major Ruby versions at their latest patch release
- Allow to switch between them seamlessly
- Use chruby
- Encourage bundler usage
| {url:'stun:stun01.sipphone.com'}, | |
| {url:'stun:stun.ekiga.net'}, | |
| {url:'stun:stun.fwdnet.net'}, | |
| {url:'stun:stun.ideasip.com'}, | |
| {url:'stun:stun.iptel.org'}, | |
| {url:'stun:stun.rixtelecom.se'}, | |
| {url:'stun:stun.schlund.de'}, | |
| {url:'stun:stun.l.google.com:19302'}, | |
| {url:'stun:stun1.l.google.com:19302'}, | |
| {url:'stun:stun2.l.google.com:19302'}, |
| # Use an official Ubuntu Xenial as a parent image | |
| FROM ubuntu:16.04 | |
| # Install Node.js 8 and npm 5 | |
| RUN apt-get update | |
| RUN apt-get -qq update | |
| RUN apt-get install -y build-essential | |
| RUN apt-get install -y curl | |
| RUN curl -sL https://deb.nodesource.com/setup_8.x | bash | |
| RUN apt-get install -y nodejs |
| server { | |
| listen 80; | |
| server_name api.example.com; | |
| return 301 https://$server_name$request_uri; | |
| } | |
| server { | |
| listen 443 ssl http2; | |
| server_name api.example.com; | |
| ssl_certificate /etc/letsencrypt/live/api.example.com/fullchain.pem; |