ich777 / docker-steamcmd-server

Simple Dockerfile that installs steamcmd and a selected game server
127 stars 101 forks source link

using this repo, outside UNRAID #64

Closed luckyzor closed 6 months ago

luckyzor commented 6 months ago

I'm a user of unraid on my homelab, but I have a dedicated server to host gameservers outside, with another OS.

what should I change, if there are anything really unraid config, to porper use your repo in another OS?

I really like your work it's amazing and I really wanted to use it, outside unraid. I wanted to test v-rising to start :)

thanks

ich777 commented 6 months ago

Not much, just make sure the path's are correct and that the UID and GID environment variable are set to a UID and GID that Docker is able to actually access (on Debian based distributions most of the times 1000 is fine).

Also make sure that your distribution and Docker is up to date.

Hope that helps.

luckyzor commented 6 months ago

hmm thanks for the help I tried to start the server; but its in a loop:

---BepInEx v1.668.5 up-to-date---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---WINE properly set up---
---Checking for old display lock files---
---Server ready---
---Start Server---
tail: invalid PID: ‘’
Terminated

docker-compose:

services:
  steamcmd:
    container_name: vrserver1
    image: ich777/steamcmd:vrising
    restart: unless-stopped
    ports:
        - 9876-9877:9876-9877/udp
        - 27016:27015/tcp
        - 27016:27015/udp
    environment:
        - GAME_ID=1829350
        - SERVER_NAME=V Rising Server 1 - PvE
        - WORLD_NAME=world1pve
        - UID=1000
        - GID=1000
        - GAME_PORT=27015
        - ENABLE_BEPINEX=true
    volumes:
        - /vrserver1/steamcmd:/serverdata/steamcmd
        - /vrserver1/serverfiles:/serverdata/serverfiles

anything I need to change?

Staticvi commented 6 months ago

hmm thanks for the help I tried to start the server; but its in a loop:

---BepInEx v1.668.5 up-to-date---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---WINE properly set up---
---Checking for old display lock files---
---Server ready---
---Start Server---
tail: invalid PID: ‘’
Terminated

docker-compose:

services:
  steamcmd:
    container_name: vrserver1
    image: ich777/steamcmd:vrising
    restart: unless-stopped
    ports:
        - 9876-9877:9876-9877/udp
        - 27016:27015/tcp
        - 27016:27015/udp
    environment:
        - GAME_ID=1829350
        - SERVER_NAME=V Rising Server 1 - PvE
        - WORLD_NAME=world1pve
        - UID=1000
        - GID=1000
        - GAME_PORT=27015
        - ENABLE_BEPINEX=true
    volumes:
        - /vrserver1/steamcmd:/serverdata/steamcmd
        - /vrserver1/serverfiles:/serverdata/serverfiles

anything I need to change?

PLEASE!!!! let me know if you get this working I have been trying all day to get a docker compose to work nothing even starts to load... I HAD TrueNAS with a fork of his build that is from truecharts it worked amazingly. I am now on ubuntu and would LOVE for this to work. --- Same game V-Rising a lot of people want it for a linux box.

ich777 commented 6 months ago

---BepInEx v1.668.5 up-to-date---

  • ENABLE_BEPINEX=true

I tried it now with the newest BepInEx pack from Thunderstore and it is also crashing so I assume the BepInEx pack needs to be updated to fully support V Rising 1.0+ Please disable it for now.

  • 27016:27015/tcp
    • 27016:27015/udp

What is this? You don't need those ports...

Staticvi commented 6 months ago

---BepInEx v1.668.5 up-to-date---

  • ENABLE_BEPINEX=true

I tried it now with the newest BepInEx pack from Thunderstore and it is also crashing so I assume the BepInEx pack needs to be updated to fully support V Rising 1.0+ Please disable it for now.

  • 27016:27015/tcp
    • 27016:27015/udp

What is this? You don't need those ports...

Hey setting BEPINEX=false and using IP:9876 for direct connect in game this worked!!! how would i remove all the 27016/27015 ports from what he added just to clean it up.

luckyzor commented 6 months ago

---BepInEx v1.668.5 up-to-date---

  • ENABLE_BEPINEX=true

I tried it now with the newest BepInEx pack from Thunderstore and it is also crashing so I assume the BepInEx pack needs to be updated to fully support V Rising 1.0+ Please disable it for now.

  • 27016:27015/tcp
    • 27016:27015/udp

What is this? You don't need those ports...

Its my default config for gameservers, forgot to remove them xD I will try with the bepinex at false.

---BepInEx v1.668.5 up-to-date---

  • ENABLE_BEPINEX=true

I tried it now with the newest BepInEx pack from Thunderstore and it is also crashing so I assume the BepInEx pack needs to be updated to fully support V Rising 1.0+ Please disable it for now.

  • 27016:27015/tcp

    • 27016:27015/udp

What is this? You don't need those ports...

Hey setting BEPINEX=false and using IP:9876 for direct connect in game this worked!!! how would i remove all the 27016/27015 ports from what he added just to clean it up.

Juste remove it from the config file and restart the container.

Staticvi commented 6 months ago

hows this look?

services: steamcmd: container_name: vrserver1 image: ich777/steamcmd:vrising restart: unless-stopped ports:

  • 9876-9877:9876-9877/udp environment:
  • GAME_ID=1829350
  • SERVER_NAME=V Rising Server 1 - PvE #can this be removed and changed in the server files
  • WORLD_NAME=world1pve
  • UID=1000
  • GID=1000
  • GAME_PORT=9876 #or remove this whole line?
  • ENABLE_BEPINEX=false volumes:
  • /vrserver1/steamcmd:/serverdata/steamcmd
  • /vrserver1/serverfiles:/serverdata/serverfiles
ich777 commented 6 months ago

So everything is working, of course except BepInEx which is out of my controll, correct? Can we close this issue now?

Staticvi commented 6 months ago

Id say its solved it worked for me! im not OP though. but thank you so much for this you are doing the lords work!

luckyzor commented 6 months ago

it's working for me 2, thank you for your help.