screepers / screeps-launcher

Launcher for the Screeps Private Server
MIT License
129 stars 34 forks source link

modify config.sample.yml #16

Closed Sca1ey closed 4 years ago

Sca1ey commented 4 years ago

Hi ags,

As seen on slack: I was trying to use the screeps-launcher\docker-compose instructions to install and run the private server, but was getting a bunch of errors related to the server not connecting to mongo/redis.

After a looking through the docker docs I modified config.yml:

env:
  shared:
    MONGO_HOST: localhost
    REDIS_HOST: localhost

to

env:
  shared:
    MONGO_HOST: mongo
    REDIS_HOST: redis

and this solved the problem. Net result being that the only config required was renaming the file and adding my steam key.

I tried to create a PR but don't have permission, so adding an issue.

Thanks

Tim(Sca1ey)

AlinaNova21 commented 4 years ago

There is actually a PR (#10) I just merged to add a note for this. I would rather not change the sample since its also used for non-docker setups.