App Submission: Ghostfolio (#396)

Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
This commit is contained in:
BeauAgst 2023-02-13 18:02:17 +00:00 committed by GitHub
parent 8b2650b90c
commit 1f7bfb8a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 86 additions and 0 deletions

View File

View File

View File

@ -0,0 +1,47 @@
version: "3.7"
services:
app_proxy:
environment:
APP_HOST: ghostfolio_server_1
APP_PORT: 3334
server:
image: ghostfolio/ghostfolio:1.231.0@sha256:09d957bf25f48093ed6a0b0ac661f6b19337ac091d2b69dc2fb2985a0d51f025
restart: on-failure
environment:
NODE_ENV: production
HOST: 0.0.0.0
PORT: 3334
ACCESS_TOKEN_SALT: $APP_GHOSTFOLIO_ACCESS_TOKEN_SALT
BASE_CURRENCY: USD
DATABASE_URL: postgresql://${APP_GHOSTFOLIO_DB_USERNAME}:${APP_GHOSTFOLIO_DB_PASSWORD}@ghostfolio_postgres_1:5432/${APP_GHOSTFOLIO_DB_DATABASE_NAME}?sslmode=prefer
JWT_SECRET_KEY: ${APP_SEED}
POSTGRES_DB: ${APP_GHOSTFOLIO_DB_DATABASE_NAME}
POSTGRES_USER: ${APP_GHOSTFOLIO_DB_USERNAME}
POSTGRES_PASSWORD: ${APP_GHOSTFOLIO_DB_PASSWORD}
REDIS_HOST: ghostfolio_redis_1
REDIS_PASSWORD: ${APP_GHOSTFOLIO_REDIS_PASSWORD}
REDIS_PORT: 6379
postgres:
image: postgres:14-bullseye@sha256:c2a30d08a6f9e6c365595fd086c9e0436064c52425f15f72379ecf0807bac518
restart: on-failure
stop_grace_period: 1m
user: "1000:1000"
environment:
POSTGRES_USER: ${APP_GHOSTFOLIO_DB_USERNAME}
POSTGRES_PASSWORD: ${APP_GHOSTFOLIO_DB_PASSWORD}
POSTGRES_DB: ${APP_GHOSTFOLIO_DB_DATABASE_NAME}
PGDATA: /var/lib/postgresql/data
volumes:
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
redis:
image: redis:6.2-bullseye@sha256:5cdb2ac6f780e1d250787f4a887c1ed1166e3389757189ea913059409acc6f7c
restart: on-failure
user: "1000:1000"
command: >
--requirepass ${APP_GHOSTFOLIO_REDIS_PASSWORD}
volumes:
- ${APP_DATA_DIR}/data/redis:/data

5
ghostfolio/exports.sh Normal file
View File

@ -0,0 +1,5 @@
export APP_GHOSTFOLIO_ACCESS_TOKEN_SALT=$(derive_entropy "env-${app_entropy_identifier}-APP_ACCESS_TOKEN_SALT" | head -c32)
export APP_GHOSTFOLIO_DB_DATABASE_NAME="ghostfolio"
export APP_GHOSTFOLIO_DB_USERNAME="ghostfolio"
export APP_GHOSTFOLIO_DB_PASSWORD="moneyprintergobrrr"
export APP_GHOSTFOLIO_REDIS_PASSWORD="moneyprintergobrrr"

34
ghostfolio/umbrel-app.yml Normal file
View File

@ -0,0 +1,34 @@
manifestVersion: 1
id: ghostfolio
category: Finance
name: Ghostfolio
version: "1.231.0"
tagline: Manage your wealth like a boss
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.
Protect your assets. Refine your personal investment strategy.
Ghostfolio empowers busy people to keep track of stocks, ETFs or cryptocurrencies
without being tracked.
developer: Ghostfolio
website: https://ghostfol.io/
dependencies: []
repo: https://github.com/ghostfolio/ghostfolio
support: https://github.com/ghostfolio/ghostfolio/discussions
port: 3334
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
deterministicPassword: false
torOnly: false
submitter: BeauAgst
submission: https://github.com/getumbrel/umbrel-apps/pull/396