-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(relay): Add Relay to onpremise installation #421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
618027e
WIP - Working version using Relay for event ingestion.
RaduW 8cc2621
Changes from code review, still needs work on authentication informat…
RaduW 7c630fa
generate Relay credentials at install time
RaduW 2c7052f
generate Relay credentials at install time
RaduW 5a1248f
increase travis timeout until the web service responds
RaduW c239ece
update web check to the login url
RaduW a8dd78d
set user when generating credentials (to fix linux installations)
RaduW e1b9047
fix sed command line to work both on Mac & Linux
RaduW a80c0be
WIP - back to login url
RaduW f607bf6
WIP
RaduW 391fd18
WIP - dump container logs in travis
RaduW 4182534
WIP
RaduW 51ba14a
WIP
RaduW 06296ae
WIP
RaduW 61d9479
WIP
RaduW 671bdb4
WIP
RaduW e232d18
pairing with radu: move back to binds, fix perms problems
untitaker f011054
make the credential file readable by everybody
RaduW ac0578d
fix small problems, add more messages
RaduW dd947ca
more messages to verify everything is ok
RaduW a566d5b
and more messages to verify everything is ok
RaduW c897937
minor cleanup
RaduW 54d07a5
Merge branch 'master' into feat/add-relay
RaduW 9482746
Merge branch 'master' into feat/add-relay
BYK 7049363
Update install.sh
RaduW b2be9fa
Update nginx/nginx.conf
RaduW 6474eed
Forward all store-like endpoints to Relay.
RaduW 6209b0d
fix nginx version to 1.16
RaduW 8255460
Make public-key regex more flexible
RaduW 4fb7745
Remove debug messages
RaduW 63b5e95
Remove redundant "credentials not generated" message
BYK fa1b666
Merge branch 'master' into feat/add-relay
BYK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -77,3 +77,4 @@ data/ | |
| sentry/sentry.conf.py | ||
| sentry/config.yml | ||
| sentry/requirements.txt | ||
| relay/credentials.json | ||
This file contains hidden or 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 hidden or 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 hidden or 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,47 @@ | ||
| user nginx; | ||
| worker_processes 1; | ||
|
|
||
| error_log /var/log/nginx/error.log warn; | ||
| pid /var/run/nginx.pid; | ||
|
|
||
|
|
||
| events { | ||
| worker_connections 1024; | ||
| } | ||
|
|
||
|
|
||
| http { | ||
| default_type application/octet-stream; | ||
|
|
||
| log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | ||
| '$status $body_bytes_sent "$http_referer" ' | ||
| '"$http_user_agent" "$http_x_forwarded_for"'; | ||
|
|
||
| sendfile on; | ||
|
|
||
| keepalive_timeout 65; | ||
|
|
||
| upstream relay { | ||
| server relay:3000; | ||
| } | ||
|
|
||
| upstream sentry { | ||
| server web:9000; | ||
| } | ||
|
|
||
| server { | ||
| listen 80; | ||
| # use the docker DNS server to resolve ips for relay and sentry containers | ||
| resolver 127.0.0.11 ipv6=off; | ||
| client_max_body_size 100M; | ||
| location /api/store/ { | ||
| proxy_pass http://relay; | ||
| } | ||
| location ~ ^/api/[1-9]\d*/ { | ||
| proxy_pass http://relay; | ||
| } | ||
| location / { | ||
| proxy_pass http://sentry; | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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,13 @@ | ||
| --- | ||
| relay: | ||
| upstream: "http://web:9000/" | ||
| host: 0.0.0.0 | ||
| port: 3000 | ||
| #logging: | ||
| # # Available logging levels: TRACE, DEBUG, INFO, WARN, ERROR | ||
| # level: WARN | ||
| processing: | ||
| enabled: true | ||
| kafka_config: | ||
| - {name: "bootstrap.servers", value: "kafka:9092"} | ||
| redis: redis://redis:6379 |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.