summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/ghostfolio.yml
diff options
context:
space:
mode:
authorRonald Loyko <[email protected]>2022-10-07 17:21:13 +0300
committerGitHub <[email protected]>2022-10-07 07:21:13 -0700
commit0d4b495944d675991e374c29f52c1e8fb1e2338f (patch)
tree0c375f7b0cc72b7bfd604e16c30c824313065210 /public/v4/apps/ghostfolio.yml
parentf016c4dbc89ca71b3a68bb5b119de71489a7cf02 (diff)
downloadcaprover-one-click-apps-0d4b495944d675991e374c29f52c1e8fb1e2338f.tar.gz
caprover-one-click-apps-0d4b495944d675991e374c29f52c1e8fb1e2338f.zip
feat: add ghostfolio (#741)
Diffstat (limited to 'public/v4/apps/ghostfolio.yml')
-rw-r--r--public/v4/apps/ghostfolio.yml102
1 files changed, 102 insertions, 0 deletions
diff --git a/public/v4/apps/ghostfolio.yml b/public/v4/apps/ghostfolio.yml
new file mode 100644
index 0000000..df2897e
--- /dev/null
+++ b/public/v4/apps/ghostfolio.yml
@@ -0,0 +1,102 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ caproverExtra:
+ containerHttpPort: '3333'
+ image: ghostfolio/ghostfolio:$$cap_GHOSTFOLIO_VERSION
+ hostname: $$cap_appname.$$cap_root_domain
+ environment:
+ NODE_ENV: $$cap_NODE_ENV
+ ACCESS_TOKEN_SALT: $$cap_ACCESS_TOKEN_SALT
+ BASE_CURRENCY: $$cap_BASE_CURRENCY
+ DATABASE_URL: postgresql://$$cap_POSTGRES_USER:$$cap_POSTGRES_PASSWORD@srv-captain--$$cap_appname-db:5432/$$cap_POSTGRES_DB?sslmode=prefer
+ HOST: $$cap_appname.$$cap_root_domain
+ JWT_SECRET_KEY: $$cap_JWT_SECRET_KEY
+ POSTGRES_DB: $$cap_POSTGRES_DB
+ POSTGRES_USER: $$cap_POSTGRES_USER
+ POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
+ REDIS_HOST: srv-captain--$$cap_appname-cache
+ REDIS_PORT: 6379
+ $$cap_appname-db:
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ image: postgres:$$cap_POSTGRES_VERSION
+ environment:
+ POSTGRES_DB: $$cap_POSTGRES_DB
+ POSTGRES_USER: $$cap_POSTGRES_USER
+ POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
+ POSTGRES_ROOT_PASSWORD: $$cap_POSTGRES_ROOT_PASSWORD
+ volumes:
+ - $$cap_appname-db:/var/lib/postgresql/data
+ $$cap_appname-cache:
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ image: redis:$$cap_REDIS_VERSION
+caproverOneClickApp:
+ instructions:
+ start: |-
+ Ghostfolio is an open source wealth management software built with web technology.
+ The application empowers busy people to keep track of stocks, ETFs or cryptocurrencies and make solid, data-driven investment decisions.
+ end: |-
+ Ghostfolio has been successfully deployed! It might take few moments before it's fully started.
+ You can access it at `http://$$cap_appname.$$cap_root_domain`
+ displayName: Ghostfolio
+ isOfficial: true
+ description: Open Source Wealth Management Software
+ documentation: See https://ghostfol.io
+ variables:
+ - id: $$cap_GHOSTFOLIO_VERSION
+ label: Ghostfolio Version
+ description: Check out their valid tags at https://hub.docker.com/r/ghostfolio/ghostfolio/tags
+ defaultValue: '1.199.1'
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_VERSION
+ label: Postgres Version
+ description: Check out their valid tags at https://hub.docker.com/_/postgres/tags
+ defaultValue: '14.5'
+ validRegex: /.{1,}/
+ - id: $$cap_REDIS_VERSION
+ label: Redis Version
+ description: Check out their valid tags at https://hub.docker.com/_/redis/tags
+ defaultValue: '7.0.5'
+ validRegex: /.{1,}/
+ - id: $$cap_NODE_ENV
+ label: Application Environment
+ description: Configure the environment.
+ defaultValue: production
+ validRegex: /.{1,}/
+ - id: $$cap_ACCESS_TOKEN_SALT
+ label: Access Token Salt
+ description: A random string used as salt for access tokens.
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/
+ - id: $$cap_BASE_CURRENCY
+ label: Base Currency
+ description: The base currency of the Ghostfolio application. This can **not** be changed later!
+ defaultValue: USD
+ validRegex: /.{1,}/
+ - id: $$cap_JWT_SECRET_KEY
+ label: Base Currency
+ description: A random string used for JSON Web Tokens (JWT).
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_DB
+ label: Database
+ description: The name of the PostgreSQL database.
+ defaultValue: ghostfolio
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_USER
+ label: Database User
+ description: The user of the PostgreSQL database.
+ defaultValue: ghostfolio
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_PASSWORD
+ label: Database Password
+ description: The password of the PostgreSQL database.
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_ROOT_PASSWORD
+ label: Database Root User Password
+ description: The password of the PostgreSQL database root user.
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/