Jump to content
  • Bad file name with docker-compose


    Helladan
    • Main Category: Core / Mangos Daemon
      Sub-Category: Code Enhancement
      Version: 21.14

    Hi !
    I found a problem when I try to up a server via Docker. I got this error : `ERROR: Cannot locate specified Dockerfile: dockercontainer/Dockerfile-realmd`. Indeed, the file is named `DockerFile-realmd`, with an upper "F" 

    EDIT : simpler, I create a pull request to correct this 😃


    User Feedback

    Recommended Comments

    Helladan

    Posted

    I find some other mistakes, so I try to fix it. I'll Pull request all of this when I success to launch my serv' 😃

    miaooss

    Posted (edited)

    Did the readme help to launch the server ?
    The database need to be initialize first

    I was able to make it work with this config

    mangosd.config

    DataDir                      = "/mangos/data"

    LoginDatabaseInfo            = "mysqldb;3306;root;mangos;realmd"
    WorldDatabaseInfo            = "mysqldb;3306;root;mangos;mangos2"
    CharacterDatabaseInfo        = "mysqldb;3306;root;mangos;character2"

    WorldServerPort              = 8085
    BindIP                       = "0.0.0.0"


    readlmd.conf

    LoginDatabaseInfo      = "mysqldb;3306;root;mangos;realmd"
    MaxPingTime            = 30
    RealmServerPort        = 3724
    BindIP                 = "0.0.0.0"

    Edited by miaooss
    miaooss

    Posted

    the WorldServerPort and RealmServerPort need to match the one from the docker-compose file

    Helladan

    Posted (edited)

    I've already succeded, I'm extracting maps from game client (with brand new container =p ). I can connect to realmd, just needs (v)maps to launch mangosd

    Edited by Helladan
    • Like 1
    Helladan

    Posted

    I needed to add a 

    RUN mkdir /mangos/etc && cp /etc/mangosd.conf.dist /mangos/etc/

    (and equivalent for realmd) line in dockerfiles, since build copy .conf on "/mangos/../etc"



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use