-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from novuhq/todd/versioning-differences
Release 0.4.0 for full compatability to Novu 0.24.0
- Loading branch information
Showing
288 changed files
with
52,608 additions
and
1,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# | ||
# copy this file to .env to be picked up by docker-compose | ||
# | ||
# see https://github.com/novuhq/novu/pkgs/container/novu%2Fapi to find version | ||
IMAGE_VERSION=0.24.4 | ||
|
||
# Secrets | ||
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION | ||
JWT_SECRET=<Must be 128 bits (16 chars)>> | ||
STORE_ENCRYPTION_KEY=<ENCRYPTION_KEY_MUST_BE_32_LONG> | ||
|
||
# General | ||
NODE_ENV=local | ||
|
||
MONGO_PORT=27017 | ||
MONGO_MAX_POOL_SIZE=500 | ||
|
||
FORWARD_MINIO_CONSOLE_PORT=9090 | ||
FORWARD_MINIO_PORT=9000 | ||
|
||
REDIS_PORT=6379 | ||
REDIS_CACHE_SERVICE_PORT=6379 | ||
REDIS_HOST=redis | ||
REDIS_CACHE_SERVICE_HOST= | ||
REDIS_PASSWORD= | ||
|
||
# AWS | ||
AWS_REGION=us-east-1 | ||
AWS_ACCESS_KEY_ID=<4_CHARS> | ||
AWS_SECRET_ACCESS_KEY=<7_CHARS> | ||
|
||
S3_BUCKET_NAME=local-notifications | ||
S3_REGION=us-east-1 | ||
|
||
# Novu Ports | ||
API_PORT=3000 | ||
WS_PORT=3002 | ||
APP_PORT=4200 | ||
WIDGET_PORT=4500 | ||
WIDGET_EMBED_PORT=4701 | ||
|
||
DISABLE_USER_REGISTRATION=false | ||
|
||
# Context Paths | ||
# Only needed for setups with reverse-proxies | ||
GLOBAL_CONTEXT_PATH= | ||
WEB_CONTEXT_PATH= | ||
API_CONTEXT_PATH= | ||
WS_CONTEXT_PATH= | ||
WIDGET_CONTEXT_PATH= | ||
|
||
# Analytics | ||
SENTRY_DSN= | ||
NEW_RELIC_APP_NAME= | ||
NEW_RELIC_LICENSE_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Docker is used to self-host Novu for testing. | ||
|
||
### Before you begin | ||
|
||
You need the following installed in your system: | ||
|
||
- [Docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/) | ||
|
||
### Start Novu | ||
|
||
```sh | ||
# Start Novu | ||
docker-compose -f ./docker/docker-compose.yml up | ||
``` | ||
|
||
### Change settings | ||
|
||
The current docker compose file has default settings to work immediately in testing. However, any | ||
can be changed by creating your own `.env` file: | ||
|
||
```sh | ||
# Go to the docker folder | ||
cd docker | ||
|
||
# Copy the example env file (and make changes, but should work on defaults) | ||
# the version of the Novu docker images are set in the .env file | ||
cp .env.example .env | ||
|
||
# Start Novu | ||
docker-compose -f ./docker-compose.yml up | ||
``` | ||
|
||
### Testing | ||
|
||
* The `appsettings.Integration.json` file is pointing at http:localhost:3000 | ||
* [http://127.0.0.1:4200](http://127.0.0.1:4200) for the API key on the organisation | ||
|
||
```json | ||
{ | ||
"Novu": { | ||
"Url": "http://localhost:3000/v1", | ||
"ApiKey": "082f1cdac19663855359343735aae5b1" | ||
} | ||
} | ||
``` | ||
|
||
### OpenApi | ||
|
||
* [http://127.0.0.1:3000/openapi](http://127.0.0.1:3000/openapi)[.json|yaml] |
Oops, something went wrong.