From 21e97ada0d027d0001d60a3570b9ab0fcf955a8a Mon Sep 17 00:00:00 2001 From: Tour Date: Fri, 5 Dec 2025 20:11:39 +0100 Subject: [PATCH] new-style --- _wiki/Deployment.md | 4 ++-- docker-compose.yml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/_wiki/Deployment.md b/_wiki/Deployment.md index 2944db5..c37f2e9 100644 --- a/_wiki/Deployment.md +++ b/_wiki/Deployment.md @@ -32,8 +32,8 @@ Create a configuration file or set environment variables: ```python # main.py configuration BASE_URL = "https://www.troostwijkauctions.com" -CACHE_DB = "/var/troost-scraper/cache.db" -OUTPUT_DIR = "/var/troost-scraper/output" +CACHE_DB = "/mnt/okcomputer/output/cache.db" +OUTPUT_DIR = "/mnt/okcomputer/output" RATE_LIMIT_SECONDS = 0.5 MAX_PAGES = 50 ``` diff --git a/docker-compose.yml b/docker-compose.yml index 0488db0..65e4581 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,13 +7,12 @@ services: restart: unless-stopped networks: - traefik_net - volumes: - - shared-auction-data:/mnt/okcomputer/output - environment: RATE_LIMIT_SECONDS: "0.5" MAX_PAGES: "50" DOWNLOAD_IMAGES: "False" + volumes: + - shared-auction-data:/mnt/okcomputer/output labels: - "traefik.enable=true" - "traefik.http.routers.scaev.rule=Host(`scaev.appmodel.nl`)" @@ -22,12 +21,12 @@ services: - "traefik.http.routers.scaev.tls.certresolver=letsencrypt" - "traefik.http.services.scaev.loadbalancer.server.port=8000" + networks: traefik_net: external: true name: traefik_net -# Add at the bottom: volumes: shared-auction-data: external: true \ No newline at end of file