Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philipheinser/ember-lightning
Ember lightning hosting for https://github.com/LevelbossMike/ember-deploy
https://github.com/philipheinser/ember-lightning
docker-container ember emberjs hosting
Last synced: about 2 months ago
JSON representation
Ember lightning hosting for https://github.com/LevelbossMike/ember-deploy
- Host: GitHub
- URL: https://github.com/philipheinser/ember-lightning
- Owner: philipheinser
- License: mit
- Created: 2015-01-14T13:38:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T22:45:48.000Z (almost 4 years ago)
- Last Synced: 2024-10-31T11:41:35.514Z (about 2 months ago)
- Topics: docker-container, ember, emberjs, hosting
- Language: JavaScript
- Homepage: http://philipheinser.github.io/ember-lightning
- Size: 40 KB
- Stars: 25
- Watchers: 2
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ember-lightning ![travis](https://travis-ci.org/philipheinser/ember-lightning.svg?branch=master) ![npm](https://badge.fury.io/js/ember-lightning.svg)
Ember lightning hosting for https://github.com/ember-cli/ember-cli-deploy[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/philipheinser/ember-lightning)
# Docker support
ember-lightning is also available as a docker container. To build the container run:
```shell
docker build --tag ember-lightning .
```Then, to serve an ember-cli application run the container:
```shell
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.