# List your network interfaces
$ ip a
# Add Netplan config file and edit as below
# REMEMBER edit your eth0 name according to your network interface
$ sudo nano /etc/netplan/01-docker.yaml
# If on linux
$ sudo netplan apply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as dotenv from 'dotenv'; | |
dotenv.config(); | |
import { NestFactory } from '@nestjs/core'; | |
import { INestApplication } from '@nestjs/common'; | |
import * as basicAuth from 'express-basic-auth'; | |
import { | |
SwaggerModule, | |
DocumentBuilder, | |
SwaggerDocumentOptions, | |
SwaggerCustomOptions, |
A Pen by Bob Anderson on CodePen.