ansible/playbooks/tasks/game/gmod.yml

26 lines
576 B
YAML
Raw Normal View History

2021-08-07 12:08:29 -05:00
# vim:ft=ansible:
- name: docker deploy gmod
docker_container:
name: gmod
state: started
image: hackebein/garrysmod
restart_policy: unless-stopped
pull: yes
tty: yes
env:
AUTHKEY: "{{ steam_apikey }}"
GAMEMODE: prop_hunt
MAP: ph_islandhouse
WORKSHOP: "2155532035"
WORKSHOPDL: "2155532035"
ports:
- "1200:1200"
- "26901:26901/udp"
- "27005:27005/udp"
- "27015:27015"
- "27015:27015/udp"
- "27020:27020/udp"
volumes:
- /data/gmod:/opt/overlay
tags: [ docker, gmod ]