+ mstream basic setup

This commit is contained in:
shockrah 2022-02-22 10:11:21 -08:00
parent b83f70e6d1
commit 60d95e044a

View File

@ -0,0 +1,27 @@
---
- hosts: leftcoastlab
tasks:
- name: Create Mstream directories
file:
name: "{{item}}"
state: directory
loop:
- /opt/mstream/data
- /opt/mstream/music
- name: Create the docker container
community.docker.docker_container:
name: mstream
image: lscr.io/linuxserver/mstream
restart_policy: always
recreate: yes
volumes:
- /opt/mstream/data:/config
- /opt/mstream/music:/music
env:
PGID: 1000
PUID: 1000
ports:
- "6789:3000"