ember-lightning

0.3.0 • Public • Published

ember-lightning travis npm

Ember lightning hosting for https://github.com/ember-cli/ember-cli-deploy

Deploy

Docker support

ember-lightning is also available as a docker container. To build the container run:

docker build --tag ember-lightning .

Then, to serve an ember-cli application run the container:

docker run --name $APP_NAME --env APP_NAME=$APP_NAME --env REDIS_HOST=your-redis-server.example.com ember-lightning:latest

The image responds to these environment variables:

APP_NAME

The name of the application as deployed in Redis.

REDIS_HOST

The hostname of the Redis server where ember-cli applications are deployed. This default to redis and so it is also possible to use Docker container links to connect the ember-lightning container to a running Redis container.

REDIS_PORT

The port that Redis is listening on. Defaults to 6379. This only needs to be set if Redis is listening on a non-default port.

REDIS_SECRET

The shared secret to use for authenticating to Redis. It is blank by default, which disables authentication.

REDIS_DB

The database index to select in redis. It is blank by default, which uses the default database.

Dependencies (4)

Dev Dependencies (6)

Package Sidebar

Install

npm i ember-lightning

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

34.4 kB

Total Files

12

Last publish

Collaborators

  • philipheinser