Skip to content

Commit

Permalink
adds 'BN_WS_APPS_OPERATIONS_LIMIT' and 'BN_PEERS' & adds index.html t…
Browse files Browse the repository at this point in the history
…o the root
  • Loading branch information
siftal committed Aug 14, 2022
1 parent 08b1d2b commit 848bf81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BN_WS_OPERATIONS_TIME_WINDOW=900
BN_WS_OPERATIONS_LIMIT=60
BN_WS_APPS_OPERATIONS_LIMIT=500
# Update this port in web/brightid-nginx.conf and docker-compose.yml too
BN_WS_PROFILE_SERVICE_PORT=3000
BN_ARANGO_PROTOCOL=http
Expand All @@ -26,6 +27,7 @@ BN_UPDATER_IDCHAIN_WSS=wss://idchain.one/ws/
BN_UPDATER_SEED_GROUPS_WS_URL=wss://idchain.one/ws/
BN_ARANGO_EXTRA_OPTS=
BN_DEVELOPMENT=false
BN_PEERS=
# passwords
BN_SEED=
BN_WS_PRIVATE_KEY=
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ services:
image: nginx
volumes:
- ./web/brightid-nginx.conf:/etc/nginx/nginx.conf
- ./web/index.html:/var/www/html/index.html
network_mode: host
env_file:
- config.env
Expand Down
2 changes: 2 additions & 0 deletions web/brightid-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ http {
server {
listen 80;

root /var/www/html/;

location /profile/ {
client_max_body_size 100k;
proxy_pass http://127.0.0.1:3000/;
Expand Down

0 comments on commit 848bf81

Please sign in to comment.