GithubHelp home page GithubHelp logo

mamclain / fork-conan-exiles-dedicated-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theblackdragon/conan-exiles-dedicated-server

0.0 0.0 0.0 10 KB

Dockerfile for the Conan Exiles Dedicated Server

License: Apache License 2.0

Dockerfile 49.33% Makefile 1.47% Shell 49.20%

fork-conan-exiles-dedicated-server's Introduction

What?

This is a Dockerfile allowing you to run the Conan Exiles Dedicated Server inside of a Docker container, through Wine.

Requirements

Requires the steamcmd base image to be present (clone and run the Makefile)

How to use this image

The image includes a Makefile that can be used to build it by just typing Make

To create a container from the image, assuming the default image name set by the Makefile:

$ docker create \
    --name conan \
    -p7777:7777/udp \ 
    -p7778:7778/udp \
    -p27015:27015/udp \ 
    -e PUID=1000 \
    -e PGID=1000 \
    -v /mnt/docker/conan:/home/steam/conan-dedicated \
    bgeens/conan-exiles-server:0.1

Exposed ports

Port Protocol Function
7777 UDP game port (direct connections)
7778 UDP game port (connections through Steam)
27015 UDP Steam server browser port

Exposed variables

To map the internally used group and user to ones existing on the host machine:

  • PUID : the user ID for use by the server process
  • PGID : the group ID for use by the server process

Not setting these is likely to lead to all kinds of permission errors.

Mods

The container will create a modlist.txt file in the root of the Docker volume on first startup if it does not already exist.

The contents of the file looks something like this:

880177231       # Pythagoras
1472647650      # Limestone Buildings
1369802940      # Emberlight
1159180273      # Fashionist
1491981725      # LBPR

Make sure the second column (with the comments) is separated from the first with a tab (processing is done with awk, so anything awk considers a valid column separator should work). The second column is only there for human readability, listing only the mods numbers works just fine as well (but might be a tad harder to maintain)

Known issues

  • The created container does not show up in the Steam or ingame server browsers for me. Direct connections through IP do work though (but I have to type in the address twice, once to connect and again after it fails to automatically connect after a the restart to activate appropriate mods)

    This might be something on my end, or related to some issue in the server software itself. Scanning for the server from Steam always leads to one of these showing up in the dedicated server logs:

    PacketHandlerLog:Error: PacketHandler parsing packet with zero's in last byte.
    002c:err:eventlog:ReportEventW L"PacketHandler parsing packet with zero's in last byte."
    
    

    This is over a LAN from a different machine, so no firewall or port conflicts should be involved.

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.