From 51911417ee0f26267aef5b324160711d2ca47f42 Mon Sep 17 00:00:00 2001 From: Joshua Yanovski Date: Mon, 10 May 2021 11:42:05 -0700 Subject: [PATCH] Open stdin when using Veloren with docker. This allows entering CLI commands like `help`, `admin add`, and `shutdown` directly using `docker attach`, rather than needing to run server-cli commands separately or perform a manual reboot or interrupt. --- server-cli/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/server-cli/docker-compose.yml b/server-cli/docker-compose.yml index 4f34cfe9a2..c9c58f2061 100644 --- a/server-cli/docker-compose.yml +++ b/server-cli/docker-compose.yml @@ -3,6 +3,7 @@ version: "3.5" services: game-server: image: registry.gitlab.com/veloren/veloren/server-cli:nightly + stdin_open: true container_name: veloren-game-server-master ports: - "14004:14004"