Hi all
To briefly state the goal behind this project, it's simply to preserve dev ghostline's Bioserver1 & 2 projects, as neither of these are available on github and both require a bit of work to get up and running.
DO IT BEFORE RUNNING GAME SERVER
cp .env.example .env- set your server IP in .env (SERVER_IP=)
- set your router IP or secondary dns (ROUTER_IP=)
- build basic compose file
docker compose -f docker-compose.infra.yaml build - redirect port 53 to 1053 -> RUN on terminal: sudo iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-port 1053 sudo iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-port 1053
(If running DNS on 53:53 and ONLY IF You dont want step 4) 5. disable systemd-resovled make disable-systemd-resolved
- run infrastracture
docker compose -f docker-compose.infra.yaml up -d - run game server
Just rundocker compose -f docker-compose.bio1.yaml up --buildfor outbreak 1 anddocker compose -f docker-compose.bio2.yaml up --buildfor outbreak 2
You can run them both!
docker compose -f docker-compose.bio1.yaml -f docker-compose.bio2.yaml up --build
DO NOT FORGET TO ENABLE systemd-resolved
Simply run make enable-systemd-resovled