浏览代码

Introduce ghostfolio #106 (#111)

Macley 2 年之前
父节点
当前提交
3071b54d9b

+ 2 - 1
docs/AppList.md

@@ -4,7 +4,7 @@ List of all apps included in this project with info related to it.
 
 |**Arm32:**          |**Arm64:**|**Amd64:**|**Total:**|
 |:-------------------|:--------:|:--------:|:--------:|
-| 183 apps | 203 apps | 201 apps | 203 apps |
+| 184 apps | 204 apps | 202 apps | 204 apps |
 
 ---
 
@@ -62,6 +62,7 @@ List of all apps included in this project with info related to it.
 |[FoundryVTT Server](https://foundryvtt.com/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://hub.docker.com/r/felddy/foundryvtt) |  |  |  |
 |[FreshRSS](https://www.freshrss.org/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://github.com/FreshRSS/FreshRSS/tree/edge/Docker) |  |  |  |
 |[Gazee](https://github.com/hubbcaps/gazee)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://hub.docker.com/r/linuxserver/gazee) |  |  |  |
+|[Ghostfolio](https://ghostfol.io/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Stack| [![](../build/images/blue_doc_icon.png)](https://github.com/ghostfolio/ghostfolio#self-hosting) |  |  |  |
 |[Ghost](https://github.com/docker-library/docs/tree/master/ghost)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://hub.docker.com/_/ghost) |  |  |  |
 |[Gitea](https://gitea.com/)|:x:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://docs.gitea.io/en-us/install-with-docker/) |  |  |  |
 |[Gitea with Mariadb](https://gitea.com/)|:x:|:heavy_check_mark:|:heavy_check_mark:|Stack| [![](../build/images/blue_doc_icon.png)](https://docs.gitea.io/en-us/install-with-docker/#mysql-database) |  |  |  |

+ 49 - 0
pi-hosted_template/template/portainer-v2.json

@@ -1903,6 +1903,55 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://github.com/docker-library/docs/tree/master/ghost\" target=\"_blank\">https://github.com/docker-library/docs/tree/master/ghost</a><br><b>Official Docker Documentation: </b><a href=\"https://hub.docker.com/_/ghost\" target=\"_blank\">https://hub.docker.com/_/ghost</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Other"
+			],
+			"description": "Ghostfolio is a privacy-first, open source dashboard for your personal finances. Break down your asset allocation, know your net worth and make solid, data-driven investment decisions.",
+			"env": [
+				{
+					"default": "ghostfolio_usr",
+					"label": "POSTGRES_USER",
+					"name": "POSTGRES_USER"
+				},
+				{
+					"default": "r2sp88fzvjnj9e24maycjv6e7kukj8wurcmt",
+					"label": "POSTGRES_PASSWORD",
+					"name": "POSTGRES_PASSWORD"
+				},
+				{
+					"default": "ghostfolio_db",
+					"label": "POSTGRES_DB",
+					"name": "POSTGRES_DB"
+				},
+				{
+					"default": "",
+					"label": "ALPHA_VANTAGE_API_KEY",
+					"name": "ALPHA_VANTAGE_API_KEY"
+				},
+				{
+					"default": "4574k48a355hkcbew7h69xazz694bd32xmze",
+					"label": "ACCESS_TOKEN_SALT",
+					"name": "ACCESS_TOKEN_SALT"
+				},
+				{
+					"default": "8k8zvx2krrrh7qcsqnsn73e5bvfesupy3b75",
+					"label": "JWT_SECRET_KEY",
+					"name": "JWT_SECRET_KEY"
+				}
+			],
+			"logo": "https://ghostfol.io/assets/apple-touch-icon.png",
+			"name": "ghostfolio",
+			"platform": "linux",
+			"repository": {
+				"stackfile": "stack/ghostfolio.yml",
+				"url": "https://github.com/pi-hosted/pi-hosted/"
+			},
+			"restart_policy": "unless-stopped",
+			"title": "Ghostfolio",
+			"type": 3,
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://ghostfol.io/\" target=\"_blank\">https://ghostfol.io/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/ghostfolio/ghostfolio#self-hosting\" target=\"_blank\">https://github.com/ghostfolio/ghostfolio#self-hosting</a><br><br><br>"
+		},
 		{
 			"categories": [
 				"Proxy"

+ 40 - 0
stack/ghostfolio.yml

@@ -0,0 +1,40 @@
+version: '3.7'
+services:
+  ghostfolio:
+    image: ghostfolio/ghostfolio:latest
+    environment:
+      DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer
+      NODE_ENV: production
+      REDIS_HOST: redis
+      REDIS_PORT: 6379
+      ALPHA_VANTAGE_API_KEY: ${ALPHA_VANTAGE_API_KEY}
+      COMPOSE_PROJECT_NAME: ghostfolio
+      ACCESS_TOKEN_SALT: ${ACCESS_TOKEN_SALT}
+      JWT_SECRET_KEY: ${JWT_SECRET_KEY}
+    ports:
+      - 3333:3333
+    depends_on:
+      - postgres
+
+  postgres:
+    image: postgres:12
+    environment:
+      POSTGRES_DB: ${POSTGRES_DB}
+      POSTGRES_USER: ${POSTGRES_USER}
+      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
+    volumes:
+      - postgres:/var/lib/postgresql/data
+
+  redis:
+    image: redis:alpine
+
+volumes:
+  postgres:
+
+# input we need to ask for the user:
+# ${JWT_SECRET_KEY} (just random text is great)
+# ${ACCESS_TOKEN_SALT} (just random text is great)
+# ${ALPHA_VANTAGE_API_KEY} (optional)
+# ${POSTGRES_DB}
+# ${POSTGRES_USER}
+# ${POSTGRES_PASSWORD}

+ 53 - 0
template/apps/ghostfolio.json

@@ -0,0 +1,53 @@
+{
+	"categories": [
+		"Other"
+	],
+	"description": "Ghostfolio is a privacy-first, open source dashboard for your personal finances. Break down your asset allocation, know your net worth and make solid, data-driven investment decisions.",
+	"env": [
+		{
+			"default": "ghostfolio_usr",
+			"label": "POSTGRES_USER",
+			"name": "POSTGRES_USER"
+		},
+		{
+			"default": "r2sp88fzvjnj9e24maycjv6e7kukj8wurcmt",
+			"label": "POSTGRES_PASSWORD",
+			"name": "POSTGRES_PASSWORD"
+		},
+		{
+			"default": "ghostfolio_db",
+			"label": "POSTGRES_DB",
+			"name": "POSTGRES_DB"
+		},
+		{
+			"default": "",
+			"label": "ALPHA_VANTAGE_API_KEY",
+			"name": "ALPHA_VANTAGE_API_KEY"
+		},
+		{
+			"default": "4574k48a355hkcbew7h69xazz694bd32xmze",
+			"label": "ACCESS_TOKEN_SALT",
+			"name": "ACCESS_TOKEN_SALT"
+		},
+		{
+			"default": "8k8zvx2krrrh7qcsqnsn73e5bvfesupy3b75",
+			"label": "JWT_SECRET_KEY",
+			"name": "JWT_SECRET_KEY"
+		}
+	],
+	"logo": "https://ghostfol.io/assets/apple-touch-icon.png",
+	"name": "ghostfolio",
+	"officialDoc": "https://github.com/ghostfolio/ghostfolio#self-hosting",
+	"platform": "linux",
+	"repository": {
+		"stackfile_arm32": "stack/ghostfolio.yml",
+		"stackfile_arm64": "stack/ghostfolio.yml",
+		"stackfile_amd64": "stack/ghostfolio.yml",
+		"url": "https://github.com/pi-hosted/pi-hosted/"
+	},
+	"restart_policy": "unless-stopped",
+	"title": "Ghostfolio",
+	"type": 3,
+	"webpage": "https://ghostfol.io/"
+}
+ 

+ 49 - 0
template/portainer-v2-amd64.json

@@ -2222,6 +2222,55 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://github.com/docker-library/docs/tree/master/ghost\" target=\"_blank\">https://github.com/docker-library/docs/tree/master/ghost</a><br><b>Official Docker Documentation: </b><a href=\"https://hub.docker.com/_/ghost\" target=\"_blank\">https://hub.docker.com/_/ghost</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Other"
+			],
+			"description": "Ghostfolio is a privacy-first, open source dashboard for your personal finances. Break down your asset allocation, know your net worth and make solid, data-driven investment decisions.",
+			"env": [
+				{
+					"default": "ghostfolio_usr",
+					"label": "POSTGRES_USER",
+					"name": "POSTGRES_USER"
+				},
+				{
+					"default": "r2sp88fzvjnj9e24maycjv6e7kukj8wurcmt",
+					"label": "POSTGRES_PASSWORD",
+					"name": "POSTGRES_PASSWORD"
+				},
+				{
+					"default": "ghostfolio_db",
+					"label": "POSTGRES_DB",
+					"name": "POSTGRES_DB"
+				},
+				{
+					"default": "",
+					"label": "ALPHA_VANTAGE_API_KEY",
+					"name": "ALPHA_VANTAGE_API_KEY"
+				},
+				{
+					"default": "4574k48a355hkcbew7h69xazz694bd32xmze",
+					"label": "ACCESS_TOKEN_SALT",
+					"name": "ACCESS_TOKEN_SALT"
+				},
+				{
+					"default": "8k8zvx2krrrh7qcsqnsn73e5bvfesupy3b75",
+					"label": "JWT_SECRET_KEY",
+					"name": "JWT_SECRET_KEY"
+				}
+			],
+			"logo": "https://ghostfol.io/assets/apple-touch-icon.png",
+			"name": "ghostfolio",
+			"platform": "linux",
+			"repository": {
+				"stackfile": "stack/ghostfolio.yml",
+				"url": "https://github.com/pi-hosted/pi-hosted/"
+			},
+			"restart_policy": "unless-stopped",
+			"title": "Ghostfolio",
+			"type": 3,
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://ghostfol.io/\" target=\"_blank\">https://ghostfol.io/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/ghostfolio/ghostfolio#self-hosting\" target=\"_blank\">https://github.com/ghostfolio/ghostfolio#self-hosting</a><br><br><br>"
+		},
 		{
 			"categories": [
 				"SCM",

+ 49 - 0
template/portainer-v2-arm32.json

@@ -1903,6 +1903,55 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://github.com/docker-library/docs/tree/master/ghost\" target=\"_blank\">https://github.com/docker-library/docs/tree/master/ghost</a><br><b>Official Docker Documentation: </b><a href=\"https://hub.docker.com/_/ghost\" target=\"_blank\">https://hub.docker.com/_/ghost</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Other"
+			],
+			"description": "Ghostfolio is a privacy-first, open source dashboard for your personal finances. Break down your asset allocation, know your net worth and make solid, data-driven investment decisions.",
+			"env": [
+				{
+					"default": "ghostfolio_usr",
+					"label": "POSTGRES_USER",
+					"name": "POSTGRES_USER"
+				},
+				{
+					"default": "r2sp88fzvjnj9e24maycjv6e7kukj8wurcmt",
+					"label": "POSTGRES_PASSWORD",
+					"name": "POSTGRES_PASSWORD"
+				},
+				{
+					"default": "ghostfolio_db",
+					"label": "POSTGRES_DB",
+					"name": "POSTGRES_DB"
+				},
+				{
+					"default": "",
+					"label": "ALPHA_VANTAGE_API_KEY",
+					"name": "ALPHA_VANTAGE_API_KEY"
+				},
+				{
+					"default": "4574k48a355hkcbew7h69xazz694bd32xmze",
+					"label": "ACCESS_TOKEN_SALT",
+					"name": "ACCESS_TOKEN_SALT"
+				},
+				{
+					"default": "8k8zvx2krrrh7qcsqnsn73e5bvfesupy3b75",
+					"label": "JWT_SECRET_KEY",
+					"name": "JWT_SECRET_KEY"
+				}
+			],
+			"logo": "https://ghostfol.io/assets/apple-touch-icon.png",
+			"name": "ghostfolio",
+			"platform": "linux",
+			"repository": {
+				"stackfile": "stack/ghostfolio.yml",
+				"url": "https://github.com/pi-hosted/pi-hosted/"
+			},
+			"restart_policy": "unless-stopped",
+			"title": "Ghostfolio",
+			"type": 3,
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://ghostfol.io/\" target=\"_blank\">https://ghostfol.io/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/ghostfolio/ghostfolio#self-hosting\" target=\"_blank\">https://github.com/ghostfolio/ghostfolio#self-hosting</a><br><br><br>"
+		},
 		{
 			"categories": [
 				"Proxy"

+ 49 - 0
template/portainer-v2-arm64.json

@@ -2222,6 +2222,55 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://github.com/docker-library/docs/tree/master/ghost\" target=\"_blank\">https://github.com/docker-library/docs/tree/master/ghost</a><br><b>Official Docker Documentation: </b><a href=\"https://hub.docker.com/_/ghost\" target=\"_blank\">https://hub.docker.com/_/ghost</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Other"
+			],
+			"description": "Ghostfolio is a privacy-first, open source dashboard for your personal finances. Break down your asset allocation, know your net worth and make solid, data-driven investment decisions.",
+			"env": [
+				{
+					"default": "ghostfolio_usr",
+					"label": "POSTGRES_USER",
+					"name": "POSTGRES_USER"
+				},
+				{
+					"default": "r2sp88fzvjnj9e24maycjv6e7kukj8wurcmt",
+					"label": "POSTGRES_PASSWORD",
+					"name": "POSTGRES_PASSWORD"
+				},
+				{
+					"default": "ghostfolio_db",
+					"label": "POSTGRES_DB",
+					"name": "POSTGRES_DB"
+				},
+				{
+					"default": "",
+					"label": "ALPHA_VANTAGE_API_KEY",
+					"name": "ALPHA_VANTAGE_API_KEY"
+				},
+				{
+					"default": "4574k48a355hkcbew7h69xazz694bd32xmze",
+					"label": "ACCESS_TOKEN_SALT",
+					"name": "ACCESS_TOKEN_SALT"
+				},
+				{
+					"default": "8k8zvx2krrrh7qcsqnsn73e5bvfesupy3b75",
+					"label": "JWT_SECRET_KEY",
+					"name": "JWT_SECRET_KEY"
+				}
+			],
+			"logo": "https://ghostfol.io/assets/apple-touch-icon.png",
+			"name": "ghostfolio",
+			"platform": "linux",
+			"repository": {
+				"stackfile": "stack/ghostfolio.yml",
+				"url": "https://github.com/pi-hosted/pi-hosted/"
+			},
+			"restart_policy": "unless-stopped",
+			"title": "Ghostfolio",
+			"type": 3,
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://ghostfol.io/\" target=\"_blank\">https://ghostfol.io/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/ghostfolio/ghostfolio#self-hosting\" target=\"_blank\">https://github.com/ghostfolio/ghostfolio#self-hosting</a><br><br><br>"
+		},
 		{
 			"categories": [
 				"SCM",