This commit is contained in:
@@ -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.
|
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
|
## Gitea Automation
|
||||||
|
|
||||||
The workflow file is:
|
The workflow file is:
|
||||||
|
|||||||
@@ -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:
|
||||||
Reference in New Issue
Block a user