This file contains hidden or 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
| storage: ./storage | |
| auth: | |
| htpasswd: | |
| file: ./htpasswd | |
| max_users: -1 | |
| uplinks: | |
| npmjs: | |
| url: https://registry.npmjs.org/ | |
| packages: | |
| '**': |
This file contains hidden or 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
| version: '3.1' | |
| services: | |
| verdaccio: | |
| image: verdaccio/verdaccio | |
| container_name: "verdaccio" | |
| networks: | |
| - node-network | |
| environment: | |
| - VERDACCIO_PORT=4873 |
This file contains hidden or 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
| storage: ./storage | |
| auth: | |
| htpasswd: | |
| file: ./htpasswd | |
| uplinks: | |
| npmjs: | |
| url: https://registry.npmjs.org/ | |
| packages: | |
| '@*/*': | |
| access: $all |
This file contains hidden or 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
| # Step 0 - Run the web build and get bundle | |
| FROM node:11.12-alpine | |
| RUN apk add --update \ | |
| git \ | |
| && rm -rf /var/cache/apk/* | |
| WORKDIR /app | |
| COPY /web/frontend/package.json /web/frontend/yarn.lock ./ |
This file contains hidden or 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
| package main | |
| import ( | |
| "net/http" | |
| rice "github.com/GeertJohan/go.rice" | |
| "github.com/labstack/echo" | |
| ) | |
| func main() { |
This file contains hidden or 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
| const mongoose = require('mongoose'); | |
| const Compressor = mongoose.model('compressor'); | |
| module.exports = app => { | |
| const uri = '/api/compressor'; | |
| // Gets all compressors | |
| app.get(uri, async (req, res) => { |