Giter Site home page Giter Site logo

mbround18 / enshrouded-docker Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 10.0 40 KB

๐ŸŒŸ Welcome to the ultimate enshrouded Server Setup! ๐ŸŒ This GitHub repository is your go-to toolkit ๐Ÿ› ๏ธ for launching an enshrouded server in a snap using Docker!

Home Page: https://dev.to/mbround18/setting-up-an-enshrouded-dedicated-server-with-docker-2n1i

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 35.72% Python 42.45% Shell 13.09% Jinja 8.13% Makefile 0.60%
docker enshrouded python server

enshrouded-docker's Introduction

๐Ÿš€ Hey There, Adventurers & Innovators! ๐Ÿš€

๐ŸŒŸ Let's Connect & Collaborate! ๐ŸŒŸ

Dive into my digital universe by clicking these shiny badges. Let's explore the realms of technology and innovation together!

Dev.to LinkedIn Instagram GitHub GitLab Discord

๐Ÿ’– Fuel My Quest for Innovation ๐Ÿ’–

Your support helps me keep the magic alive! Discover why supporting me on this journey is worth your while.

Why I Seek Sponsors

Support Me on GitHub Ko-Fi

Amazon Wishlist


๐ŸŒˆ My Quests & Dreams ๐ŸŒˆ

  • Open Source Champion: I am on a quest to keep the spirit of open-source alive. My armory is filled with projects for the world to see and improve upon. Uncover the value of this quest.
  • Eternal Learner: My thirst for knowledge knows no bounds. Every day is an opportunity to learn something new and expand the frontiers of my understanding.

๐ŸŽฒ How I Roll - For Fun ๐ŸŽฒ


๐Ÿš€ Current Adventures ๐Ÿš€

Expanding My Wisdom

  • Mastering server administration and the arcane arts of decompiling dlls to modify the very fabric of game worlds.

Crafting Wonders

  • Conjuring a Python spell to manage Call of Cthulhu characters. Secrets yet to be revealed.
  • Forging Critical Failure, a beacon for D&D enthusiasts.
  • Enhancing my Valheim Server, a haven for brave Vikings.

Architecting Realms

  • Weaving magic with json to automate my kubernetes kingdom. Behold the spellbook.
  • Securing my creations in private GitLab repositories, ready to deploy into the K8s wildlands.

๐Ÿ† Trophies Unlocked ๐Ÿ†

Scholar Achievements

  • Master of Information Systems from the University of Phoenix, a testament to my dedication and thirst for knowledge.
  • AWS Certified Cloud Practitioner, a badge of honor in the realm of cloud mastery.
  • Bachelor of Science in Information Technology with an Advanced Software Developer Certificate from the University of Phoenix, marking the beginning of my journey.

Join me on this exciting adventure, where every click, every support, and every connection is a step towards a more innovative and magical world!

Let's Make Magic Happen!

enshrouded-docker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

enshrouded-docker's Issues

mostly harmless (I think) Docker image warnings

ln: failed to create symbolic link '/home/steam/.steam/sdk32/steamservice.so': No such file or directory
[...]
/tmp/dumps is not owned by us - delete and recreate
Unable to delete /tmp/dumps. Continuing anyway.
[...]
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory

The server seems to run fine anyway, but nobody likes to see messages about failures.

server configuration is overwritten on startup

It seems like the enshrouded_server.json config is getting overwritten on startup regardless of whether the file exists or not.
This leads all of the settings, specifically the password, getting reset whenever the container restarts.

Unable to mount just the config as ro because it is inside of the parent bind mount.

My only workaround right now is to copy my config over the default-initialized one once the container starts and before the server actually starts up.

error issue (docker-compose up)

ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 11, column 6
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 11, column 6
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 11, column 6
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.enshrouded.build contains unsupported option: 'platforms'
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: The Compose file './docker-compose.yaml' is invalid because:
services.enshrouded.build contains unsupported option: 'platforms'
services:
  enshrouded:
    image: mbround18/enshrouded-docker:latest
    build:
      context: .
      dockerfile: Dockerfile
      platforms:
        - linux/amd64
    environment:
      SERVER_NAME: "...."  # Note the proper indentation here
      PASSWORD: "...."
      SAVE_DIRECTORY: ./savegame
      LOG_DIRECTORY: ./logs
      SERVER_IP: <IP-Server>
      GAME_PORT: 15636
      QUERY_PORT: 15637
      SLOT_COUNT: 4
    ports:
      - "15636:15636/udp"
      - "15636:15636/tcp"
      - "15637:15637/udp"
      - "15637:15637/tcp"
    volumes:
      - ./data:/home/steam/enshrouded
  • platform is not supported, what should i do?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

docker-compose
docker-compose.with-backups.yaml
docker-compose.yml
dockerfile
Dockerfile
  • ubuntu 24.04
github-actions
.github/workflows/docker-release.yaml
pipenv
Pipfile

  • Check this box to trigger a request for Renovate to run again on this repository

Not Starting Docker Desktop Windows

Hey there, I'm trying to run this docker container using Docker desktop for Windows. I created a docker-compose.yml files exactly like the one in your example, loaded powershell and ran docker compose up -d. It starts, but every time it closes. The last line of the log file is 0024:err:virtual:virtual_setup_exception stack overflow 1808 bytes addr 0x170024de1 stack 0x208f0 (0x20000-0x21000-0x120000). I posted the whole log here on Pastebin for you but I'm eally not sure where to go from here. Any advice would be appreciated. Thank you.

https://pastebin.com/uXLEBKzN

enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1371

enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1371 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1373 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1375 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1380 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1382 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1384 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1386 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1388 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1390 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1392 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1394 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1396 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1398 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1400 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1402 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1404 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1406 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1408 enshrouded-1 | [ecss] Stats: Upd:3,360 (17.9ms) Time:60,008ms Total:47,989ms Max:18ms Avg:14.3ms +:0 -:0 Ent:5,870 Pred:0 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1416 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1418 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1420 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1422 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1424 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1427 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1445 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1447 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1449 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1457 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1459 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1461 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1464 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1467 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1469 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1471 enshrouded-1 | [ecss] Could not add component e3b96393 for entity 1473
this is how i setup my docker compose

services:
enshrouded:
image: mbround18/enshrouded-docker:latest
build:
context: .
dockerfile: Dockerfile
platforms:
- linux/amd64
environment:
SERVER_NAME: "Bajubesi Enshrouded Server" # Optional, Name of the server
PASSWORD: "mypasswd" # Optional, Password for the server
# SAVE_DIRECTORY: ./savegame # Optional, Save directory for the game
# LOG_DIRECTORY: ./logs # Optional, Log directory for the server
# SERVER_IP: 0.0.0.0 # Optional, IP address for the server
# GAME_PORT: 15636 # Optional, Game port for the server
# QUERY_PORT: 15637 # Optional, Query port for the server
# SLOT_COUNT: 16 # Optional, Number of slots for the server
ports:
- "15636:15636/udp"
- "15636:15636/tcp"
- "15637:15637/udp"
- "15637:15637/tcp"
volumes:
- ./data:/home/steam/enshrouded
backups:
image: mbround18/backup-cron:latest
environment:
- SCHEDULE=*/10 * * * *
- INPUT_FOLDER=/home/steam/enshrouded/savegame
- OUTPUT_FOLDER=/home/steam/backups
- OUTPUT_USER=1000
- OUTPUT_GROUP=1000
- RETAIN_N_DAYS=5
volumes:
- ./data:/home/steam/enshrouded
- ./backups:/home/steam/backups
restart: unless-stopped

High Server Load issue when playing with 3-5 player

Screenshot 2024-02-29 163903

this is my server spec, im running the server on Ubuntu Server 22.04.

OS: Ubuntu 22.04.4 LTS x86_64
Kernel: 6.5.0-21-generic
Uptime: 22 hours, 28 mins
Shell: bash 5.1.16
CPU: Intel Xeon E5-2680 v4 (28) @ 3.300GHz
GPU: NVIDIA Quadro K2000
Memory: 20082MiB / 64207MiB

when i play with 3-5 friend i always receive server load yellow and when many activities always got server load red, how can i fix this ? how do i setup and configure the server to utilize and optimize with my server spec? is there any solutions to do that ?

and im using docker-compose up -d to run the dedicated server in the background, so it can run 24/7 even when i close the putty. Is it going to to cause me any problems?

i use root to docker-compose up , should i change to user? please advice the proper way to install and run docker-compose for this dedicated server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.