Browse Source

removing tty lets us do cool stuff

pull/1/head
thehuntedpie 7 years ago
parent
commit
b6727a0f05
  1. 7
      README.md
  2. 2
      docker-compose.yml

7
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 !!

2
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:

Loading…
Cancel
Save