mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 04:27:58 +00:00
Update Dockerfile and compose.yml, add requests.http and update requirements.txt
This commit is contained in:
@@ -9,4 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
CMD ["python", "app.py"]
|
CMD ["uvicorn","app:app","--reload"]
|
||||||
|
|||||||
@@ -5,7 +5,10 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
catcher:
|
catcher:
|
||||||
image: ghcr.io/shadoll/scatcher:latest
|
image: scatcher
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/app/storage
|
- ./storage:/app/storage
|
||||||
networks:
|
networks:
|
||||||
@@ -18,5 +21,4 @@ services:
|
|||||||
traefik.http.routers.catcher.tls: true
|
traefik.http.routers.catcher.tls: true
|
||||||
traefik.http.routers.catcher.tls.certresolver: letsencrypt
|
traefik.http.routers.catcher.tls.certresolver: letsencrypt
|
||||||
traefik.http.services.catcher.loadbalancer.server.port: 5000
|
traefik.http.services.catcher.loadbalancer.server.port: 5000
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
|
|||||||
1
requests.http
Normal file
1
requests.http
Normal file
@@ -0,0 +1 @@
|
|||||||
|
GET https://catcher.rs.shadoll.dev/__last_request__
|
||||||
@@ -1 +1,2 @@
|
|||||||
fastapi
|
fastapi
|
||||||
|
uvicorn[standard]
|
||||||
|
|||||||
Reference in New Issue
Block a user