push
This commit is contained in:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8050:5000"
|
||||
environment:
|
||||
- FLASK_ENV=development
|
||||
- SERPAPI_KEY=${SERPAPI_KEY:-}
|
||||
volumes:
|
||||
- .:/app
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pytest -q tests/test_scraper.py::test_get_google_first_page_maps_output || exit 1"]
|
||||
interval: 1m
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
Reference in New Issue
Block a user