From df849a4d206ac69bbbfe950615ae91aff823ce16 Mon Sep 17 00:00:00 2001 From: Nicolas Graf Date: Mon, 22 May 2023 20:37:17 +0200 Subject: [PATCH] Update readme. Signed-off-by: Nicolas Graf --- README.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 375248c..48f088e 100644 --- a/README.md +++ b/README.md @@ -1 +1,67 @@ -# docker-armagetronad \ No newline at end of file +

+ Armagetron image +

+

+ + docker stars + + docker pulls + + docker image version + + docker image size + + chat on Discord +

+This image will start an Armagetron Advanced/Retrocycles server. You can also start a master server with it. + +## Table of Contents +- [Table of Contents](#table-of-contents) +- [How to use this image](#how-to-use-this-image) + - [... with 'docker run'](#-with-docker-run) + - [... with 'docker compose'](#-with-docker-compose) +- [Environment Variables](#environment-variables) +- [Contributing](#contributing) + + +## How to use this image +### ... with 'docker run' +To start an Armagetron Advanced server with `docker run`: +```shell +docker run \ + -p 4534:4534/udp \ + -v armagetron_data:/armagetronad \ + evoesports/armagetronad:latest +``` + +### ... with 'docker compose' +To do the same with `docker compose`: +```yaml +version: "3.8" +services: + armagetron: + image: evoesports/armagetronad:latest + ports: + - 4534:4534/udp + volumes: + - armagetron_data:/armagetronad +volumes: + armagetron_data: +``` +In both cases, the server will launch and be bound to port 4534 UDP. +The server only needs one volume to store all your data, which is mounted to /armagetron. You can also use bind mounts. + +## Environment Variables +| **Environment Variable** | **Description** | **Default Value** | **Required** | +|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------|--------------------------|:------------:| +| `MASTERSERVER` | Whether you want to launch a normal gameserver or a master server. | False | | + +## Contributing +If you have any questions, issues, bugs or suggestions, don't hesitate and open an [Issue](https://github.com/evoesports/docker-armagetronad/issues/new)! You can also join our [Discord](https://discord.gg/evoesports) for questions. + +You may also help with development by creating a pull request.