Skip to content

Instantly share code, notes, and snippets.

View bessa3301's full-sized avatar
🌎
+1-507-509-6526

Bessa bessa3301

🌎
+1-507-509-6526
  • Firework
View GitHub Profile

A simple Docker and Docker Compose install script for Ubuntu

Usage

  1. sh install-docker.sh
  2. log out
  3. log back in

Links

@bessa3301
bessa3301 / server.js
Created October 3, 2020 22:27
TEAM BAZINGA NASA SAC 2020
'use strict'
const fastify = require('fastify')({ logger: false, trustProxy: true })
const redis = require('redis').createClient({ host: 'localhost', port: 6379 })
const path = require('path')
const helmet = require('fastify-helmet')
require('dotenv').config()
fastify
.register(require('fastify-static'), {