This is a test fastapi endpoint to test the functionality
855
This image is meant to be able to test a simple web server configuration example to be working and to be remotely available on dockerhub.
Use this docker compose:
services:
web:
image: jcabrero/test-fastapi:latest
ports:
- "8000:8000"
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
retries: 3
start_period: 15s
timeout: 10s
It should be available on localhost:8000/docs
Content type
Image
Digest
sha256:cdd82e43b…
Size
74 MB
Last updated
about 1 year ago
docker pull jcabrero/test-fastapi