Public | Automated Build

Last pushed: 4 months ago
Short Description
Nginx hosting an Ember app with a backend API #ember-cli #Ember.js
Full Description

Ember proxy service

Nginx hosting an Ember app with a backend API #ember-cli #Ember.js

Running your Ember app

docker run --name my-app \
    --link my-backend-container:backend \
    -v /path/to/spa/dist:/app \
    -v /path/to/config:/conf \
    -d semtech/ember-proxy-service

All HTML requests and requests to a location matching the regex in the STATIC_FOLDERS_REGEX environment variable (default: ^/(assets|font)/) are served by the Ember app. Remaining requests are proxied to the backend API.

Custom Nginx configurations with a name like *.conf can be mounted in /config and will be included automatically.

Docker Pull Command
Owner
semtech
Source Repository