Installation
Docker compose
Create a docker-compose.yml
file with the following contents.
# docker-compose.yml
---
services:
reniway:
image: reniver/reniway
container_name: reniway
volumes:
- reniway:/usr/share/Reniver
restart: always
ports:
- 4840:4840
- 5020:5020
- 5030:5030
reniway-ui:
image: reniver/reniway-ui
container_name: reniway-ui
restart: always
ports:
- 80:80
volumes:
reniway:
After starting the compose project you can access Reniway using a web browser at http://localhost/
.
Reverse Proxy
If https is required you can add a reverse proxy like nginx. If Make sure to handle the 5020/5030 ports as they are used for API calls from the frontend.
Here is an example nginx config file without TLS.
map $http_connection $connection_upgrade {
"~*Upgrade" $http_connection;
default keep-alive;
}
server {
listen 80;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:80;
}
}
server {
listen 5020;
location / {
proxy_pass http://localhost:5020;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache off;
proxy_http_version 1.1;
proxy_buffering off;
proxy_read_timeout 100s;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 5030;
location / {
proxy_pass http://localhost:5030;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache off;
proxy_http_version 1.1;
proxy_buffering off;
proxy_read_timeout 100s;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}