JakeFake222 commited on
Commit
bb46cf2
Β·
verified Β·
1 Parent(s): a33052f

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +21 -0
  2. README.md +22 -4
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM afadil/wealthfolio:latest
2
+
3
+ # HF Spaces runs as user with uid 1000
4
+ USER root
5
+
6
+ # Create data directory with proper permissions
7
+ RUN mkdir -p /data && chmod 777 /data
8
+
9
+ # Set environment variables for HF Spaces
10
+ ENV WF_LISTEN_ADDR=0.0.0.0:7860
11
+ ENV WF_DB_PATH=/data/wealthfolio.db
12
+ ENV WF_SECRET_KEY=hf-space-default-key-change-in-production
13
+
14
+ # Expose the HF default port
15
+ EXPOSE 7860
16
+
17
+ # Run as non-root user (HF requirement)
18
+ USER 1000
19
+
20
+ # Start the server
21
+ CMD ["wealthfolio-server"]
README.md CHANGED
@@ -1,10 +1,28 @@
1
  ---
2
  title: Wealthfolio
3
- emoji: πŸ“š
4
- colorFrom: yellow
5
- colorTo: green
6
  sdk: docker
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Wealthfolio
3
+ emoji: πŸ“Š
4
+ colorFrom: green
5
+ colorTo: blue
6
  sdk: docker
7
  pinned: false
8
+ license: agpl-3.0
9
+ app_port: 7860
10
  ---
11
 
12
+ # Wealthfolio
13
+
14
+ A beautiful, private investment tracking application.
15
+
16
+ ## Features
17
+
18
+ - πŸ“Š Portfolio Tracking - Track investments across multiple accounts
19
+ - πŸ“ˆ Performance Analytics - Detailed metrics and historical analysis
20
+ - πŸ’° Activity Management - Import and manage trading activities
21
+ - 🎯 Goal Planning - Set and track financial goals
22
+ - 🌍 Multi-Currency - Multiple currencies with exchange rate management
23
+
24
+ ## Usage
25
+
26
+ This is a hosted instance of [Wealthfolio](https://github.com/afadil/wealthfolio). Data is stored locally in the Space's persistent storage.
27
+
28
+ **Note**: For production use with sensitive financial data, consider self-hosting with proper security measures.