Socket
Book a DemoInstallSign in
Socket

ember-cli-docker-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-docker-config

Dynamic Configuration Support for ember-cli for easier Docker builds.

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

Ember-cli-docker-config

This ember-cli addon provides dynamic configuration for ember-cli projects using environment variables.

The main purpose of this addon is to allow an ember app to be packaged in a docker build and use standard docker environment variables to manage the custom configuration for a deployment.

Installation

  • ember install ember-cli-docker-config

Usage

Add a DynamicConfig entry to your config/environment.js file. Each key under DynamicConfig represents an environment.js config entry, while the value is the environment variable that will override that field if it's present.

Example:

DynamicConfig: {
  baseURL: 'APP_BASE_URL',
  'simple-auth': {
    authenticationRoute: 'application.login'
  }
}

Development

  • git clone this repository
  • npm install
  • bower install

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

ember-addon

FAQs

Package last updated on 30 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts