+ mstream basic setup
This commit is contained in:
parent
b83f70e6d1
commit
60d95e044a
27
docker-host/setup/tasks/mstream.yml
Normal file
27
docker-host/setup/tasks/mstream.yml
Normal 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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user