-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
Philipp Piwo edited this page Mar 5, 2016
·
4 revisions
In order to use this project with gradle, follow these steps:
git clone https://github.com/BreakOutEvent/breakout-backend.git
./gradlew bootRun
- Enjoy! 🎉
Note: This solution includes building the image from the Dockerfile yourself. In further versions, a prebuilt version will be pushed to docker-hub or something similar.
git clone https://github.com/BreakOutEvent/breakout-backend.git
docker build -t breakout/backend
docker run -p 8082:8082 breakout/backend
The following environment variables should be set. Testing fallbacks for most of the values are fetched from application.properties, but these should not be used in production!
Env Variable | Description |
---|---|
BREAKOUT_MAILER_URL | The URL of the breakout-mailer, which is responsible for sending emails to users |
BREAKOUT_MAILER_PORT | The port the mailer is listening on |
BREAKOUT_MAILER_XAUTHTOKEN | A token needed to authenticate at the mailer (this is a shared secret between Mailer and Backend and needs to be set at the mailer accordingly!) |
Env Variable | Description |
---|---|
BREAKOUT_ADMIN_EMAIL | The email address used for logging in to the admin account (This account is activated by default) |
BREAKOUT_ADMIN_PASSWORD | The password used for logging in to the admin account |
Env Variable | Description |
---|---|
BREAKOUT_API_JWT_SECRET | A shared secret needed to generate jwt-tokens for api communications for backend-services. (needs to be set at the media uploader/recoder accordingly) |
This information is needed to create valid activation links
Env Variable | Description |
---|---|
BREAKOUT_API_HOST | The hostname at which the api can be reached (e.g. break-out.org) |
BREAKOUT_API_PORT | The port of the API (e.g. 80) |