refactoring, standardised naming, shuffling the docker infra around,
This commit is contained in:
parent
f9b93c013d
commit
5e69799136
6 changed files with 91 additions and 64 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue