Add factorio
This commit is contained in:
parent
47c1689741
commit
cd54e3f4f6
@ -30,6 +30,7 @@
|
|||||||
- web/srv.yml
|
- web/srv.yml
|
||||||
- web/synapse.yml
|
- web/synapse.yml
|
||||||
- game/satisfactory.yml
|
- game/satisfactory.yml
|
||||||
|
- game/factorio.yml
|
||||||
tags: [ always ]
|
tags: [ always ]
|
||||||
roles:
|
roles:
|
||||||
- role: backup
|
- role: backup
|
||||||
|
21
playbooks/tasks/game/factorio.yml
Normal file
21
playbooks/tasks/game/factorio.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# vim:ft=ansible:
|
||||||
|
- name: docker deploy factorio
|
||||||
|
docker_container:
|
||||||
|
name: factorio
|
||||||
|
state: started
|
||||||
|
image: factoriotools/factorio:stable
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
pull: yes
|
||||||
|
tty: yes
|
||||||
|
env:
|
||||||
|
AUTHKEY: "{{ steam_apikey }}"
|
||||||
|
GAMEMODE: prop_hunt
|
||||||
|
MAP: ph_islandhouse
|
||||||
|
WORKSHOP: "2155532035"
|
||||||
|
WORKSHOPDL: "2155532035"
|
||||||
|
ports:
|
||||||
|
- "34197:34197/udp"
|
||||||
|
- "27015:27015/tcp"
|
||||||
|
volumes:
|
||||||
|
- /data/factorio:/factorio
|
||||||
|
tags: [ docker, factorio ]
|
Loading…
Reference in New Issue
Block a user