mumble-formula/mumble/init.sls

29 lines
704 B
Text
Raw Normal View History

2024-10-20 17:07:06 +02:00
ensure-git-is-installed:
2024-06-02 15:25:59 +02:00
pkg.installed:
- name: git
2024-10-20 17:07:06 +02:00
mumble-docker-git-repository-is-available-and-up-to-date:
2024-06-02 15:25:59 +02:00
git.latest:
- name: https://code.flipdot.org/flipdot/mumble-docker.git
- target: /opt/mumble-dockerfile
2024-10-20 17:07:06 +02:00
mumble-data-directory-exists:
file.directory:
- name: /opt/mumble/data
- makedirs: True
mumble-docker-image-was-build-and-is-available:
2024-06-02 15:25:59 +02:00
docker_image.present:
- name: flipdot/mumble
- tag: latest
- build: /opt/mumble-dockerfile
2024-10-20 17:07:06 +02:00
mumble-docker-container-is-running:
2024-06-02 15:25:59 +02:00
docker_container.running:
2024-10-20 17:07:06 +02:00
- name: mumble
- image: flipdot/mumble:latest
2024-06-02 15:25:59 +02:00
- binds: /opt/mumble/data:/data
- port_bindings:
- 64738:64738
- 64738:64738/udp