Skip to content

Instantly share code, notes, and snippets.

View mehyedes's full-sized avatar
👨‍💻

Mehdi mehyedes

👨‍💻
View GitHub Profile
@mehyedes
mehyedes / README.md
Last active May 13, 2020 17:38 — forked from alexellis/README.md
Provision faasd 0.8.1 on DigitalOcean with Terraform 0.12.0 with TLS support

Bootstrap faasd with TLS support on Digitalocean

  1. Sign up to DigitalOcean

  2. Download Terraform

  3. Clone this gist using the URL from the address bar

  4. Run terraform init

  5. Configure terraform variables as needed by updating the main.tfvars file:

    | Variable | Description | Default | | ------------ | ------------------- | --------------- |

@mehyedes
mehyedes / Dockerfile
Last active April 8, 2024 14:59
Compiling NGINX module as dynamic module for use in docker
FROM nginx:1.14.2 AS builder
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
ENV NGINX_VERSION 1.14.2
ENV VTS_VERSION 0.1.18
COPY ./badproxy /etc/apt/apt.conf.d/99fixbadproxy
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \