Default to not use whitelisting

Added privileged run for iptables
This commit is contained in:
Menno van Leeuwen 2023-04-21 11:53:43 +02:00
parent ade06e1945
commit a571d64298
No known key found for this signature in database
GPG Key ID: 1E42C7BFE8FAA26B
2 changed files with 17 additions and 1 deletions

View File

@ -4,8 +4,9 @@ services:
build:
context: .
dockerfile: Dockerfile
privileged: true
environment:
- WHITELIST_ENABLED=true
- WHITELIST_ENABLED=false
volumes:
- ./config:/home/rexuiz/.rexuiz/data
ports:

15
readme.md Normal file
View File

@ -0,0 +1,15 @@
# Basic Rexuiz dockerized server
This is an unofficial dockerized version of Rexuiz server.
### How to run
1. `make`
2. `make run`
### Whitelisting
Optionally you can enable whitelisting IPs to only allow certain IPs to join in.
To enable this set the `WHITELIST_ENABLED` to `true` and make sure the container runs as privileged.
When you've done this you can add IPv4 addresses to config/allowed_ips.txt 1 per line.