mirror of
https://github.com/edumeet/edumeet.git
synced 2026-01-23 02:34:58 +00:00
added build & dev version
This commit is contained in:
parent
876d8e19cc
commit
e8a21013a7
4 changed files with 6 additions and 4 deletions
|
|
@ -16,6 +16,7 @@ docker-compose logs -f --tail=50 edumeet
|
|||
|
||||
Accessing endpoints:
|
||||
|
||||
- Edumeet: https://127.0.0.1:8443/
|
||||
- Edumeet (app live dev): https://127.0.0.1:8443/
|
||||
- Edumeet (app build): https://127.0.0.1:3443/
|
||||
- Prometheus: http://127.0.0.1:9090/
|
||||
- Grafana: http://127.0.0.1:9091/ (user:pass `admin`:`admin`)
|
||||
|
|
|
|||
|
|
@ -171,11 +171,11 @@ module.exports =
|
|||
listeningPort : 3443,
|
||||
// Any http request is redirected to https.
|
||||
// Listening port for http server.
|
||||
//listeningRedirectPort : 8080,
|
||||
listeningRedirectPort : 8080,
|
||||
// Listens only on http, only on listeningPort
|
||||
// listeningRedirectPort disabled
|
||||
// use case: loadbalancer backend
|
||||
httpOnly : true,
|
||||
httpOnly : false,
|
||||
// WebServer/Express trust proxy config for httpOnly mode
|
||||
// You can find more info:
|
||||
// - https://expressjs.com/en/guide/behind-proxies.html
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ server {
|
|||
|
||||
# server
|
||||
location ~ ^/(socket\.io) {
|
||||
proxy_pass http://edumeet:3443;
|
||||
proxy_pass https://edumeet:3443;
|
||||
#
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ WORKDIR /edumeet
|
|||
ENV DEBUG=edumeet*,mediasoup*
|
||||
RUN npm install -g nodemon && \
|
||||
npm install -g concurrently
|
||||
CMD cd app && yarn && yarn build
|
||||
CMD concurrently --names "server,app" "cd server && yarn && nodemon server.js" "cd app && yarn && yarn start"
|
||||
Loading…
Add table
Add a link
Reference in a new issue