From b6727a0f05b67bbcd544eb6e22e80d09511e9cd7 Mon Sep 17 00:00:00 2001 From: thehuntedpie Date: Wed, 26 Sep 2018 02:06:15 +0300 Subject: [PATCH] removing tty lets us do cool stuff --- README.md | 7 ++++--- docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb53c46..6238ff1 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,11 @@ Host Server : `docker run --name mindustry -ti -p 6567:6567/tcp -p 6567:6567/udp # Manage Mindustry Console ## Attach Console -Attach terminal with `docker attach mindustry_server` +Attach terminal with `docker attach --sig-proxy=false mindustry_server` + +ATTENTION! The terminal will not have any indicators that you have connected to the console. Just type help to get started. ### Detach Console -To detach the tty without shutting down the server, -use the escape sequence Ctrl-p + Ctrl-q +To detach the console type Ctrl-C . The server should remain running. ### Enjoy !! diff --git a/docker-compose.yml b/docker-compose.yml index 6101c4f..16fb563 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: - "JAVA_OPTS=-Xms1G -Xmx2G" #set memory limits command: - "load 1,host" # load save 1 and then host. see help for options - tty: true + tty: false stdin_open: true restart: always volumes: