-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update readme (#45) * Change vis-data and vis-network versions * Fix react hot reloading (#47) * Separate dev and prod dockerfile * Separate dev and prod nginx configs * Use new dev and prod nginx images * Bump version * Use arrays instead of vis datasets * Remove vis-dataset
- Loading branch information
Showing
12 changed files
with
6,640 additions
and
3,106 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 was deleted.
Oops, something went wrong.
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,4 @@ | ||
FROM nginx:1.23.3-alpine-slim | ||
RUN rm /usr/share/nginx/html/* | ||
COPY ./nginx.conf.dev /etc/nginx/nginx.conf | ||
CMD [ "nginx", "-g", "daemon off;" ] |
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,4 @@ | ||
FROM nginx:1.23.3-alpine-slim | ||
RUN rm /usr/share/nginx/html/* | ||
COPY ./nginx.conf.prod /etc/nginx/nginx.conf | ||
CMD [ "nginx", "-g", "daemon off;" ] |
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,43 @@ | ||
events {} | ||
|
||
http { | ||
gzip on; | ||
gzip_types text/plain application/json; | ||
gzip_min_length 250; | ||
|
||
proxy_read_timeout 1h; | ||
proxy_connect_timeout 1h; | ||
proxy_send_timeout 1h; | ||
|
||
server { | ||
listen 80; | ||
resolver 127.0.0.11 ipv6=off valid=5s; | ||
|
||
location /api { | ||
set $sre_entrypoint http://sre_entrypoint:80; | ||
rewrite /api/(.*) /$1 break; | ||
proxy_pass $sre_entrypoint; | ||
} | ||
|
||
location /ws { | ||
proxy_pass http://li_user-interface:80; | ||
proxy_http_version 1.1; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
} | ||
|
||
location / { | ||
set $user_interface http://li_user-interface:80; | ||
proxy_pass $user_interface; | ||
} | ||
} | ||
} | ||
|
||
stream { | ||
server { | ||
listen 7687; | ||
resolver 127.0.0.11 ipv6=off valid=5s; | ||
set $sre_entrypoint sre_entrypoint:7687; | ||
proxy_pass $sre_entrypoint; | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.