Add factorio

This commit is contained in:
Salt 2022-11-13 13:07:36 -06:00
parent 47c1689741
commit cd54e3f4f6
2 changed files with 22 additions and 0 deletions

View File

@ -30,6 +30,7 @@
- web/srv.yml
- web/synapse.yml
- game/satisfactory.yml
- game/factorio.yml
tags: [ always ]
roles:
- role: backup

View 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 ]