Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit 94ca587

Browse files
authored
fix & docker-compose add (#10)
* added docker compose * add new line * updated readme * updated readme * fixed LOCALE * fixed LOCALE
1 parent f4faa37 commit 94ca587

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
workspace/
1+
workspace/
2+
.idea/

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pull base image.
2-
FROM jlesage/baseimage-gui:alpine-3.15-glibc-v3 AS base
2+
FROM jlesage/baseimage-gui:alpine-3.12-glibc-v3 AS base
33

44
# System config
55
RUN apk --no-cache add ca-certificates wget curl && update-ca-certificates && \

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ An open source tool to calculate the overall performance of an investment portfo
77
## Prerequisite
88
* `docker` is installed, up and running
99

10-
## Build
10+
## Docker Compose:
11+
```bash
12+
$ git clone <REPO>
13+
$ cd <REPO-PATH>
14+
$ docker compose up -d
15+
```
16+
17+
## Or build manually
1118
```bash
1219
# Change to repo folder
1320
$ cd <REPO-PATH>
@@ -19,7 +26,7 @@ $ docker build -t portfolio:local .
1926
$ docker build --build-arg VERSION="0.46.6" --build-arg LOCALE="de_DE" -t portfolio:local .
2027
```
2128

22-
## Run
29+
## And run manually
2330
```bash
2431
$ docker run -d --name portfolio \
2532
-v ${PWD}/workspace:/opt/portfolio/workspace \

docker-compose.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
services:
2+
portfolio:
3+
build:
4+
context: .
5+
args:
6+
LOCALE: de_DE
7+
container_name: portfolio
8+
restart: unless-stopped
9+
ports:
10+
- 5800:5800
11+
volumes:
12+
- ./workspace:/opt/portfolio/workspace
13+
environment:
14+
KEEP_APP_RUNNING: 1
15+
USER_ID: 0
16+
GROUP_ID: 0
17+
TZ: Europe/Berlin

0 commit comments

Comments
 (0)