davidgasquez commited on
Commit
f99591b
1 Parent(s): e7da202
Files changed (3) hide show
  1. Dockerfile +7 -0
  2. requirements.txt +1 -0
  3. roapi.yml +8 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ COPY requirements.txt roapi.yml /app/
4
+
5
+ RUN pip install --no-cache-dir -r /app/requirements.txt
6
+
7
+ CMD ["roapi", "-c", "/app/roapi.yml"]
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ roapi
roapi.yml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ addr:
2
+ http: 0.0.0.0:8084
3
+ postgres: 0.0.0.0:5432
4
+ tables:
5
+ - name: "filecoin_daily_metrics"
6
+ uri: "https://filecoindataportal.davidgasquez.com/data/filecoin_daily_metrics.parquet"
7
+ option:
8
+ format: "parquet"