project created
This commit is contained in:
46
docker/docker-compose.yaml
Normal file
46
docker/docker-compose.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
version: '3'
|
||||
services:
|
||||
lms:
|
||||
container_name: lms
|
||||
image: lmscommunity/logitechmediaserver
|
||||
volumes:
|
||||
- lmsconfig:/config:rw
|
||||
- music:/music:ro
|
||||
- lmsplaylists:/playlists:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
ports:
|
||||
- 9000:9000/tcp
|
||||
- 9090:9090/tcp
|
||||
- 3483:3483/tcp
|
||||
- 3483:3483/udp
|
||||
networks:
|
||||
corehomenetwork:
|
||||
ipv4_address: ${LMS_MACVLAN_IP}
|
||||
restart: always
|
||||
volumes:
|
||||
lmsconfig:
|
||||
name: lms_config
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: ${LMS_VOLUME_CONFIG_TYPE}
|
||||
o: ${LMS_VOLUME_CONFIG_O}
|
||||
device: "${LMS_VOLUME_CONFIG_DEVICE}"
|
||||
lmsplaylists:
|
||||
name: lms_playlists
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: ${LMS_VOLUME_PLAYLISTS_TYPE}
|
||||
o: ${LMS_VOLUME_PLAYLISTS_O}
|
||||
device: "${LMS_VOLUME_PLAYLISTS_DEVICE}"
|
||||
music:
|
||||
name: music
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: ${LMS_VOLUME_MUSIC_TYPE}
|
||||
o: ${LMS_VOLUME_MUSIC_O}
|
||||
device: "${LMS_VOLUME_MUSIC_DEVICE}"
|
||||
networks:
|
||||
corehomenetwork:
|
||||
external: true
|
||||
name: macvlan_pub_net
|
||||
Reference in New Issue
Block a user