refactoring, standardised naming, shuffling the docker infra around,

This commit is contained in:
Adam 2021-10-22 12:29:45 +02:00
parent f9b93c013d
commit 5e69799136
6 changed files with 91 additions and 64 deletions

View file

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# stream logs from 'factorio' container
# follow the logs, and
# combine stdout and stderr
@ -6,3 +8,6 @@
docker logs --tail 0 -f factorio 2>&1 |
sed -n -e 's/^FactorioEvent: //p' |
kafkacat -P -b localhost -t factorio-server-log
# listen to events
# kafkacat -C -b localhost -t factorio-server-log | jq