new-style

This commit is contained in:
Tour
2025-12-05 20:11:39 +01:00
parent 19653290a6
commit 21e97ada0d
2 changed files with 5 additions and 6 deletions

View File

@@ -32,8 +32,8 @@ Create a configuration file or set environment variables:
```python ```python
# main.py configuration # main.py configuration
BASE_URL = "https://www.troostwijkauctions.com" BASE_URL = "https://www.troostwijkauctions.com"
CACHE_DB = "/var/troost-scraper/cache.db" CACHE_DB = "/mnt/okcomputer/output/cache.db"
OUTPUT_DIR = "/var/troost-scraper/output" OUTPUT_DIR = "/mnt/okcomputer/output"
RATE_LIMIT_SECONDS = 0.5 RATE_LIMIT_SECONDS = 0.5
MAX_PAGES = 50 MAX_PAGES = 50
``` ```

View File

@@ -7,13 +7,12 @@ services:
restart: unless-stopped restart: unless-stopped
networks: networks:
- traefik_net - traefik_net
volumes:
- shared-auction-data:/mnt/okcomputer/output
environment: environment:
RATE_LIMIT_SECONDS: "0.5" RATE_LIMIT_SECONDS: "0.5"
MAX_PAGES: "50" MAX_PAGES: "50"
DOWNLOAD_IMAGES: "False" DOWNLOAD_IMAGES: "False"
volumes:
- shared-auction-data:/mnt/okcomputer/output
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.scaev.rule=Host(`scaev.appmodel.nl`)" - "traefik.http.routers.scaev.rule=Host(`scaev.appmodel.nl`)"
@@ -22,12 +21,12 @@ services:
- "traefik.http.routers.scaev.tls.certresolver=letsencrypt" - "traefik.http.routers.scaev.tls.certresolver=letsencrypt"
- "traefik.http.services.scaev.loadbalancer.server.port=8000" - "traefik.http.services.scaev.loadbalancer.server.port=8000"
networks: networks:
traefik_net: traefik_net:
external: true external: true
name: traefik_net name: traefik_net
# Add at the bottom:
volumes: volumes:
shared-auction-data: shared-auction-data:
external: true external: true