mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 11:17:23 +01:00
Merge pull request #26 from dtandersen/server-id
server-id / banlist / docker-compose
This commit is contained in:
commit
2b1115c19a
@ -1 +0,0 @@
|
||||
sudo docker build --no-cache -t factorio .
|
@ -1 +0,0 @@
|
||||
sudo rm -rf /tmp/factorio
|
8
0.15/docker-compose.yml
Normal file
8
0.15/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: '2'
|
||||
services:
|
||||
factorio:
|
||||
build: .
|
||||
ports:
|
||||
- "34197:34197"
|
||||
volumes:
|
||||
- /tmp/factorio:/factorio
|
@ -32,5 +32,7 @@ exec /opt/factorio/bin/x64/factorio \
|
||||
--start-server-load-latest \
|
||||
--server-settings $CONFIG/server-settings.json \
|
||||
--server-whitelist $CONFIG/server-whitelist.json \
|
||||
--server-banlist $CONFIG/server-banlist.json \
|
||||
--rcon-port 27015 \
|
||||
--rcon-password "$(cat $CONFIG/rconpw)"
|
||||
--rcon-password "$(cat $CONFIG/rconpw)" \
|
||||
--server-id /factorio/config/server-id.json
|
||||
|
@ -1,5 +0,0 @@
|
||||
sudo docker run --rm -it \
|
||||
-v /tmp/factorio:/factorio \
|
||||
--name factorio \
|
||||
factorio "$@"
|
||||
find /tmp/factorio -type f
|
@ -1,5 +0,0 @@
|
||||
sudo docker run -d -p 34197:34197/udp -p 27015:27015/tcp \
|
||||
-v factorio:/factorio \
|
||||
--name factorio \
|
||||
--restart=always \
|
||||
factorio
|
Loading…
Reference in New Issue
Block a user