瀏覽代碼

Merge pull request #9 from blumberg/AirsonicAdv

Deprecate Airsonic and Add Airsonic Advanced
Robert Middleswarth 3 年之前
父節點
當前提交
f8820bf58f
共有 3 個文件被更改,包括 133 次插入2 次删除
  1. 1 0
      docs/AppList.md
  2. 66 1
      template/portainer-v2-arm32.json
  3. 66 1
      template/portainer-v2-arm64.json

+ 1 - 0
docs/AppList.md

@@ -7,6 +7,7 @@ List of all apps included in this project with info related to it.
 |App Title|System|Type | Doc |Install Script|Extra Scripts|Youtube Video|
 |:--------|:----:|:---:|:---:|:------------:|:------------|:-----------:|
 |Airsonic|32/64 bit|Container|  |  |  |  |
+|Airsonic Advanced|32/64 bit|Container|  |  |  |  |
 |Archivebox|32/64 bit|Container|  |  |  |  |
 |Authelia|32/64 bit|Container|  |  |  |  |
 |Bazarr|32/64 bit|Container|  |  |  |  |

+ 66 - 1
template/portainer-v2-arm32.json

@@ -5,7 +5,7 @@
 			"categories": [
 				"Music"
 			],
-			"description": "Airsonic is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
+			"description": "[DEPRECATED] Airsonic is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
 			"env": [
 				{
 					"default": "1000",
@@ -66,6 +66,71 @@
 				}
 			]
 		},
+		{
+			"categories": [
+				"Music"
+			],
+			"description": "Airsonic Advanced is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+                {
+					"default": "America/New_York",
+                    "label": "TZ",
+                    "name": "TZ"
+                },
+				{
+					"default": "airsonic",
+					"label": "CONTEXT_PATH",
+					"name": "CONTEXT_PATH"
+				},
+				{
+					"default": "-Xms256m -Xmx512m",
+					"label": "JAVA_OPTS",
+					"name": "JAVA_OPTS"
+				}
+			],
+			"image": "linuxserver/airsonic-advanced:latest",
+			"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/airsonic-logo.png",
+			"name": "airsonic-advanced",
+			"platform": "linux",
+			"ports": [
+				"4040:4040/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Airsonic Advanced",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/portainer/Music",
+					"container": "/music"
+				},
+				{
+					"bind": "/portainer/Files/AppData/Config/Airsonic-Advanced/Playlists",
+					"container": "/playlists"
+				},
+				{
+					"bind": "/portainer/Podcasts",
+					"container": "/podcasts"
+				},
+				{
+					"bind": "/portainer/Files/AppData/Config/Airsonic-Advanced/Media",
+					"container": "/media"
+				},
+				{
+					"bind": "/portainer/Files/AppData/Config/Airsonic-Advanced/Config",
+					"container": "/config"
+				}
+			]
+		},
 		{
 			"categories": [
 				"Other",

+ 66 - 1
template/portainer-v2-arm64.json

@@ -5,7 +5,7 @@
 			"categories": [
 				"Music"
 			],
-			"description": "Airsonic is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
+			"description": "[DEPRECATED] Airsonic is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
 			"env": [
 				{
 					"default": "1000",
@@ -66,6 +66,71 @@
 				}
 			]
 		},
+		{
+			"categories": [
+				"Music"
+			],
+			"description": "Airsonic Advanced is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
+			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+                {
+					"default": "America/New_York",
+                    "label": "TZ",
+                    "name": "TZ"
+                },
+				{
+					"default": "airsonic",
+					"label": "CONTEXT_PATH",
+					"name": "CONTEXT_PATH"
+				},
+				{
+					"default": "-Xms256m -Xmx512m",
+					"label": "JAVA_OPTS",
+					"name": "JAVA_OPTS"
+				}
+			],
+			"image": "linuxserver/airsonic-advanced:latest",
+			"logo": "https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/images/airsonic-logo.png",
+			"name": "airsonic-advanced",
+			"platform": "linux",
+			"ports": [
+				"4040:4040/tcp"
+			],
+			"restart_policy": "unless-stopped",
+			"title": "Airsonic Advanced",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/portainer/Music",
+					"container": "/music"
+				},
+				{
+					"bind": "/portainer/Files/AppData/Config/Airsonic-Advanced/Playlists",
+					"container": "/playlists"
+				},
+				{
+					"bind": "/portainer/Podcasts",
+					"container": "/podcasts"
+				},
+				{
+					"bind": "/portainer/Files/AppData/Config/Airsonic-Advanced/Media",
+					"container": "/media"
+				},
+				{
+					"bind": "/portainer/Files/AppData/Config/Airsonic-Advanced/config/",
+					"container": "/config"
+				}
+			]
+		},
 		{
 			"categories": [
 				"Other",