jsknnr / soulmask-dedicated-server

Soulmask containerized server running in Debian slim
MIT License
7 stars 0 forks source link

GAME_MODE pvp error #6

Closed thefrcrazy closed 3 months ago

thefrcrazy commented 3 months ago

When I start my container I automatically get the error (below) however the game mode is well defined

pve or pvp: show this Error ERROR: GAME_MODE must be either 'pve' or 'pvp'

CleanShot 2024-06-03 at 20 23 27

jsknnr commented 3 months ago

Which version of the image are you running? Are you launching with Docker Compose?

thefrcrazy commented 3 months ago

Image version: latest yeah i using docker compose command

jsknnr commented 3 months ago

Latest may not actually be latest. In the first entry of the log, it should list what version the image is. Also can you share your compose file without passwords.

thefrcrazy commented 3 months ago

My env file

SERVER_NAME=Entre Couilles
GAME_MODE=pvp
SERVER_PASSWORD=serverpassword
ADMIN_PASSWORD=adminpassword
GAME_PORT=27014
QUERY_PORT=27015
SERVER_SLOTS=10
LISTEN_ADDRESS=0.0.0.0

My docker yml

version: '3.4'

services:
  soulmask:
    deploy:
      resources:
        limits:
          memory: 4G
          #cpus: '0.25'
    container_name: "soulmask-potes"
    image: sknnr/soulmask-dedicated-server:latest
    restart: always
    ports:
      - "27014:27014/udp"
      - "27015:27015/udp"
    env_file:
      - default.env
    volumes:
      - /home/maxim/soulmask-server/potes:/opt/soulmask
    stop_grace_period: 90s
thefrcrazy commented 3 months ago

Ok, after removing the < " > my problem is solved, I don't have the mood for it in the evening :D

jsknnr commented 3 months ago

Yeah what you shared with me is working when I test it.

Though there is 1 problem. You need to bind mount to /home/steam/soulmask not /opt/soulmask.

thefrcrazy commented 3 months ago

well seen I got lost with other config for once.

And thank you for your speed