Compare commits
3 Commits
d3126738fc
...
7e595e7e89
Author | SHA1 | Date | |
---|---|---|---|
7e595e7e89 | |||
1d317bcb28 | |||
1107764d16 |
@ -5,6 +5,10 @@
|
||||
- hosts: game1.desu.ltd
|
||||
vars_files:
|
||||
- vars/factorio-main.yml
|
||||
tasks:
|
||||
- name: install docker libs
|
||||
apt: name=python3-docker
|
||||
tags: [ docker ]
|
||||
roles:
|
||||
- role: backup
|
||||
vars:
|
||||
@ -18,9 +22,12 @@
|
||||
- /opt/minecraft/valhelsia/backups
|
||||
- /opt/minecraft/vanilla/backups
|
||||
tags: [ backup ]
|
||||
- role: docker
|
||||
tags: [ docker, skip-pull ]
|
||||
- role: motd
|
||||
vars:
|
||||
motd_watch_services_extra:
|
||||
- docker
|
||||
- minecraft@dammit
|
||||
- minecraft@valhelsia
|
||||
- minecraft@vanilla
|
||||
@ -40,6 +47,27 @@
|
||||
lan: false
|
||||
admins: [ "rehashed_salt" ]
|
||||
tags: [ game, factorio ]
|
||||
# Docker gameservers
|
||||
- hosts: game1.desu.ltd
|
||||
vars:
|
||||
container_default_behavior: no_defaults
|
||||
tasks:
|
||||
# https://github.com/mkrupczak3/SCP-SECRET-LAB-DOCKER
|
||||
# Kinda forked it and changed a few settings tho
|
||||
- name: docker deploy scpsl
|
||||
docker_container:
|
||||
name: scpsl
|
||||
image: rehashedsalt/scpsl:latest
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
ports:
|
||||
- "7777-7784:7777-7784/udp"
|
||||
- "7777-7784:7777-7784"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /home/steam/steamcmd
|
||||
- /home/steam/scp_server
|
||||
tags: [ docker, scpsl ]
|
||||
# Vanilla Ice
|
||||
# Note that this one doesn't get a nightly restart job because Paper is awesome
|
||||
- hosts: game1.desu.ltd
|
||||
|
Loading…
Reference in New Issue
Block a user