progress towards multi-server handling

- bump some versions
- validate Factorio server ID & token
-
This commit is contained in:
Adam 2022-08-28 19:37:49 +02:00
parent 3821996eeb
commit 4bc46f9753
28 changed files with 577 additions and 139 deletions

View file

@ -53,8 +53,14 @@ tasks.dockerUp {
}
val kafkatorioServerToken: String by project
tasks.dockerEnvUpdate {
properties("FACTORIO_VERSION" to libs.versions.factorio.get())
properties(
"FACTORIO_VERSION" to libs.versions.factorio.get(),
"KAFKATORIO_TOKEN" to kafkatorioServerToken,
)
}

View file

@ -1,4 +0,0 @@
# Do not edit manually. This file was created with task 'dockerEnvUpdate'
COMPOSE_PROJECT_NAME=kafkatorio
FACTORIO_VERSION=1.1.64
KAFKATORIO_VERSION=0.8.0

View file

@ -1 +1,4 @@
factorio-server
factorio-server/
# .env contains secret token
.env

View file

@ -20,12 +20,9 @@ services:
driver: syslog
options:
syslog-address: "tcp://host.docker.internal:12034" # pc
# syslog-address: "tcp://localhost:12034" # nuc
#syslog-address: "tcp://localhost:12034" # nuc
syslog-format: "rfc5424"
tag: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwiaWF0IjoxNTE2MjM5MDIyLCJrZXkiOiIwMTIzNDU2Nzg5YWJjZGVmIn0.rozxe6m4HmvQIVtESq2kT_CumIw7cFK2zbeKc5aUwEg"
# correct horse battery staple
tag: ${KAFKATORIO_TOKEN}
# environment:
# RCON_PORT: 27715