We are building Docker Images automatically from the API and WebApp master branches with Travis CI where we also run tests.
- finish the docker env documentation for the API
- finish the doceker env documentation for the WebApp
- Update Docker Compose Files
ENV Var | Required | Default (local) | Description |
---|---|---|---|
HOST | ✓ | localhost | Host on which the api is running. |
PORT | ✓ | 3030 | Port on which the API Server is running. |
BASE_URL | ✓ | http://localhost:3030 | Full API URL used for generating the Upload URL's. |
FRONT_URL | ✓ | http://localhost:3000 | Full WebApp URL used in Emails. |
API_SECRET | - | - | Used for the maintenance api toggle |
MONGO_DB | ✓ | mongodb://localhost:27017/hc_api | Connection URI used to connect to the Mongo Database. The credentials have to be included here on production. |
SMTP_HOST | ✓ | localhost | SMTP Host used for sending emails from locale or an 3th party service. |
SMTP_USER | ✓ | - | The SMTP User |
THUMBOR_URL | - | - | Optional URL to the Thumbor Service which generates Thumbnails on the fly, chaches and serves them. |
THUMBOR_KEY | recommended for prod | - | The Thumbor Secret to prevent URL tempering. |
AUTH_SECRET | ✓ | - | A Secret which is used to salt sensitive date like the passwords etc. |
EMAIL_ADDRESS | ✓ | no-replay@human-connection.org | Email address used in outgoing emails. |
ENV Var | Required | Default (locale) | Description |
---|---|---|---|
BASE_URL | ✓ | http://localhost | Full URL used for generating URL's |
HOST | ✓ | localhost | WebApp Server Host |
PORT | ✓ | 3000 | WebApp Server Port |
API_HOST | ✓ | localhost | API Server Host |
API_PORT | ✓ | 3030 | API Server Port |
SENTRY_DNS_PUBLIC | Logging Identifier used for debugging frontend and backend issues | ||
MAPBOX_TOKEN | Mapbox access token | ||
RELEASE | Release Key which is replaced on build time to identify which issue affects which release |