diff --git a/README.md b/README.md index de221aa..d1b4181 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,32 @@ http://localhost:8501 The mounted `/data` volume stores sitemap CSV files, crawl state files, and crawl logs so sitemap jobs can survive container restarts. +## Docker Compose + +A ready-to-use compose file is included: + +```text +docker-compose.yml +``` + +It pulls this image: + +```text +git.websupport.work/wdw_internal_tools/wdw-sitemap-and-scraper-docker:latest +``` + +Start it with: + +```bash +docker compose up -d +``` + +Then open: + +```text +http://localhost:8501 +``` + ## Gitea Automation The workflow file is: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2bfbcf6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.9" + +services: + wdw-tools: + image: git.websupport.work/wdw_internal_tools/wdw-sitemap-and-scraper-docker:latest + container_name: wdw-sitemap-and-importer + restart: unless-stopped + ports: + - "8501:8501" + environment: + APP_DATA_DIR: /data + volumes: + - wdw-tools-data:/data + +volumes: + wdw-tools-data: