22 lines
504 B
YAML
22 lines
504 B
YAML
# vim:ft=ansible:
|
|
- name: docker deploy factorio
|
|
docker_container:
|
|
name: factorio
|
|
state: absent
|
|
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 ]
|