npm.io
0.0.0 • Published 10 years ago

fastboot-gitlab-app-server

Licence
MIT
Version
0.0.0
Deps
3
Vulns
0
Weekly
0

Ember FastBoot GitLab App server

This is a production-ready dockerized app server for running Ember FastBoot apps from GitLab build artifacts using these modules:

Usage

As a Docker container

$ docker run -d --restart always --name my-fastboot-server \
  -e URL="http://gitlab.example.com" \
  -e TOKEN="abcdefghij123456" \
  -p 3000:80
  buschtoens/fastboot-gitlab-app-server:latest
As a stand-alone Node.js server
$ git clone https://github.com/buschtoens/fastboot-gitlab-app-server.git
$ PORT=3000 URL="http://gitlab.example.com" TOKEN="abcdefghij123456" npm start
As a Node.js module
$ npm install --save fastboot-gitlab-app-server
const FastBootGitLabAppServer = require('fastboot-gitlab-app-server');

const server = new FastBootGitLabAppServer({
  url:   process.ENV.URL,
  token: process.ENV.TOKEN
});

server.start();

Keywords