{"id":22940716,"url":"https://github.com/devjoseruiz/wesnothd-docker","last_synced_at":"2025-04-01T20:36:32.498Z","repository":{"id":204168836,"uuid":"437391948","full_name":"devjoseruiz/wesnothd-docker","owner":"devjoseruiz","description":"Dockerized servers for The Battle for Wesnoth.","archived":false,"fork":false,"pushed_at":"2021-12-11T21:25:05.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-14T13:31:18.008Z","etag":null,"topics":["docker","server","wesnoth"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devjoseruiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-11T21:24:55.000Z","updated_at":"2024-12-01T16:16:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1eee911-23ad-4d52-a2c6-8181679f2f79","html_url":"https://github.com/devjoseruiz/wesnothd-docker","commit_stats":null,"previous_names":["devjoseruiz/wesnothd-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjoseruiz%2Fwesnothd-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjoseruiz%2Fwesnothd-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjoseruiz%2Fwesnothd-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjoseruiz%2Fwesnothd-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devjoseruiz","download_url":"https://codeload.github.com/devjoseruiz/wesnothd-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237652191,"owners_count":19344842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","server","wesnoth"],"created_at":"2024-12-14T13:30:29.011Z","updated_at":"2025-02-07T13:24:32.435Z","avatar_url":"https://github.com/devjoseruiz.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wesnothd-docker\n\nDockerized servers for The Battle for Wesnoth\n\n## Description\n\nThis project is aimed to bring an easy an clean way to deploy game servers for any version of The Battle for Wesnoth, with independence of your execution environment.\n\n### Why you should use this?\n\n#### For nostalgic players\n\nAs the time passes, it gets more difficult to run earlier versions of The Battle for Wesnoth. Maybe you liked version 1.12 more than the current stable, but unless you have an older OS, you won't be able to run it.\n\nOf course, if you just want to have the client for playing, there are alternatives (i.e.: Wine, Windows, VM, etc.). But what if you want to host a game in your own separate server?\n\n#### The right choice for hosting games\n\nIn the most of the cases, your host could have not access to a concrete version of the game. Maybe it got stuck in version 1.14 and you want to host games for version 1.16. Definitely, running a containerized server will save you from dealing with dependency hell and the waste of resources.\n\n#### Small and reusable\n\nThe binaries are built from sources. The resulting images don't occupy more than 165mb. Use them when needed, customize and reuse them, and remove cleanly when you want.\n\n## Getting Started\n\n### Dependencies\n\n- Docker \u003e= 20.10.11\n\n### Building images\n\nBy default, the image will be built using a fixed release of the branch.\n\n``` bash\n# This will build wesnothd v1.12.6\ndocker build -t wesnoth/wesnothd:1.12.6 wesnothd-1.12\n```\n\nYou can especify other version by passing the following arguments:\n\n``` bash\n# This will build wesnothd v1.12.4\ndocker build -t wesnoth/wesnothd:1.12.4 --build-arg WESNOTHD_VERSION=1.12.4 --no-cache wesnothd-1.12\n```\n\nAdditional instructions may be provided for building specific versions. See corresponding README for each case.\n\n### Running containers\n\nBy default, the server listens to port 15000/tcp. The following is the most basic command for running the container:\n\n``` bash\n# This will run wesnothd v1.16.1 in background listening on port 15000\ndocker run -d -p 15000:15000 --name wesnothd-1.16.1 wesnoth/wesnothd:1.16.1\n```\n\nYou may prefer to use a different port:\n\n``` bash\n# This will specify custom ports for host and container\ndocker run -d -p 3000:7000 --name wesnothd-1.16.1 wesnoth/wesnothd:1.16.1 bin/wesnothd -p 7000\n```\n\nYou could also take advantage of data persistence using a bind mount for reusing config files:\n\n``` bash\n# This will use a custom config that won't dissapear when container stops\ndocker run -d -v /path/to/config:/home/wesnothd/config -p 15000:15000 --name wesnothd-1.16.1 wesnoth/wesnothd:1.16.1 bin/wesnothd -c ../config/server.cfg\n```\n\n## Contributing\n\nAny help is always welcomed. Just send PR or contact me.\n\n## Authors\n\n- @joseruizdev \u003cjoseruiz@keemail.me\u003e\n\n## License\n\nLicensed under GPLv3.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjoseruiz%2Fwesnothd-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevjoseruiz%2Fwesnothd-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjoseruiz%2Fwesnothd-docker/lists"}