Update Dockerfile and compose.yml, add requests.http and update requirements.txt

This commit is contained in:
sha
2024-03-12 16:12:47 +00:00
parent e7d593ac60
commit 4476d5bae9
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "app.py"]
CMD ["uvicorn","app:app","--reload"]
+5 -3
View File
@@ -5,7 +5,10 @@ networks:
services:
catcher:
image: ghcr.io/shadoll/scatcher:latest
image: scatcher
build:
context: .
dockerfile: Dockerfile
volumes:
- ./storage:/app/storage
networks:
@@ -18,5 +21,4 @@ services:
traefik.http.routers.catcher.tls: true
traefik.http.routers.catcher.tls.certresolver: letsencrypt
traefik.http.services.catcher.loadbalancer.server.port: 5000
env_file:
- .env
+1
View File
@@ -0,0 +1 @@
GET https://catcher.rs.shadoll.dev/__last_request__
+1
View File
@@ -1 +1,2 @@
fastapi
uvicorn[standard]