/docker-portfolio

Dockerized version of Portfolio Performance - An open source tool to calculate the overall performance of an investment portfolio

Primary LanguageDockerfileMIT LicenseMIT

Portfolio Performance (dockerized)

This is a dockerized version of Portfolio Performance.

An open source tool to calculate the overall performance of an investment portfolio - across all accounts - using True-Time Weighted Return or Internal Rate of Return.

Prerequisite

  • docker is installed, up and running

Docker Compose:

$ git clone <REPO>
$ cd <REPO-PATH>
$ docker compose up -d

Or build manually

# Change to repo folder
$ cd <REPO-PATH>

# build container w/ latest Portfolio Performance version
$ docker build -t portfolio:local .

# build container w/ specific Portfolio Performance version & different language
$ docker build --build-arg VERSION="0.46.6" --build-arg LOCALE="de_DE" -t portfolio:local .

And run manually

$ docker run -d --name portfolio \
	-v ${PWD}/workspace:/opt/portfolio/workspace \
	-p 5800:5800 \
	-e KEEP_APP_RUNNING=1 -e USER_ID=0 -e GROUP_ID=0 -e TZ="Europe/Berlin" \
	portfolio:local

Use

Use a browser and connect to Portfolio Performance via URL: <IP-ADDRESS>:5800

  • where <IP-ADDRESS> is the IP of the machine on which you run the container
  • if it's the same machine, then it's e.g. 127.0.0.1 OR localhost

Files are saved in the <REPO>/workspace/ Folder.

Links