26 lines
576 B
YAML
26 lines
576 B
YAML
|
# 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 ]
|